staging: greybus: makefile: fix dependency of spi to spilib
authorRui Miguel Silva <rui.silva@linaro.org>
Thu, 8 Sep 2016 16:17:51 +0000 (17:17 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 19 Sep 2016 14:49:53 +0000 (16:49 +0200)
Greybus SPI driver depends on gb-spilib and we need to state that at
makefile to make it link correctly.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Makefile

index 0cc769eb470a06362763e62f47c651fb3a8f0f74..f337b7b70782a63e0a41284ef386142b507dba13 100644 (file)
@@ -85,7 +85,7 @@ obj-$(CONFIG_GREYBUS_GPIO)            += gb-gpio.o
 obj-$(CONFIG_GREYBUS_I2C)              += gb-i2c.o
 obj-$(CONFIG_GREYBUS_PWM)              += gb-pwm.o
 obj-$(CONFIG_GREYBUS_SDIO)             += gb-sdio.o
-obj-$(CONFIG_GREYBUS_SPI)              += gb-spi.o
+obj-$(CONFIG_GREYBUS_SPI)              += gb-spi.o gb-spilib.o
 obj-$(CONFIG_GREYBUS_UART)             += gb-uart.o
 obj-$(CONFIG_GREYBUS_USB)              += gb-usb.o