From b04f56c6e7ccdc7d09ccd20f28bb4d34a1603ebb Mon Sep 17 00:00:00 2001 From: Rui Miguel Silva Date: Thu, 8 Sep 2016 17:17:51 +0100 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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