aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/Makefile
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-05-14 23:42:19 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2016-05-14 23:18:32 +0200
commit4c412921c78732f8f803a5906c97746ede5cf77c (patch)
tree34a66afaf78d53f9cf5b6bb945bd8474f747d0a1 /drivers/staging/greybus/Makefile
parentgreybus: Remove bridge PHY protocol specific classes (diff)
downloadlinux-dev-4c412921c78732f8f803a5906c97746ede5cf77c.tar.xz
linux-dev-4c412921c78732f8f803a5906c97746ede5cf77c.zip
greybus: spi: Restructure spi.c to share it with other bundle drivers
This patch restructures spi.c as spilib core, so that the same logic can be reused for SPI connections implemented as part of different bundle types. This is required for Firmware Management Bundle. Note that the 'struct gb_protocol' and its callback aren't moved to a separate file in this commit to make its reviews easier. That will be done by a following patch. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-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/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/Makefile b/drivers/staging/greybus/Makefile
index 2680f7e7dc4a..a9802dacb7f1 100644
--- a/drivers/staging/greybus/Makefile
+++ b/drivers/staging/greybus/Makefile
@@ -33,7 +33,7 @@ gb-audio-manager-y += audio_manager.o
gb-audio-manager-y += audio_manager_module.o
gb-camera-y := camera.o
gb-firmware-y := fw-core.o fw-download.o
-gb-spi-y := spi.o
+gb-spilib-y := spilib.o
gb-sdio-y := sdio.o
gb-uart-y := uart.o
gb-pwm-y := pwm.o
@@ -62,7 +62,7 @@ obj-m += gb-audio-gb.o
obj-m += gb-audio-apbridgea.o
obj-m += gb-audio-manager.o
obj-m += gb-firmware.o
-obj-m += gb-spi.o
+obj-m += gb-spilib.o
obj-m += gb-sdio.o
obj-m += gb-uart.o
obj-m += gb-pwm.o