summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/Makefile
diff options
context:
space:
mode:
authorRui Miguel Silva <rui.silva@linaro.org>2016-09-08 17:17:51 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2016-09-19 16:49:53 +0200
commitb04f56c6e7ccdc7d09ccd20f28bb4d34a1603ebb (patch)
tree630897595457f152e3c21f56e577adbf5ae74426 /drivers/staging/greybus/Makefile
parent722a133a6a6687bba21cfdf33bde5767109d0dea (diff)
downloadlinux-b04f56c6e7ccdc7d09ccd20f28bb4d34a1603ebb.tar.bz2
staging: greybus: makefile: fix dependency of spi to spilib
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>
Diffstat (limited to 'drivers/staging/greybus/Makefile')
-rw-r--r--drivers/staging/greybus/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/Makefile b/drivers/staging/greybus/Makefile
index 0cc769eb470a..f337b7b70782 100644
--- a/drivers/staging/greybus/Makefile
+++ b/drivers/staging/greybus/Makefile
@@ -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