greybus: gpb: Create a "GP Bridge" kernel module
This bundles together the existing GP Bridged PHY protocols that were
part of the Greybus core: USB, UART, SDIO, PWM, and GPIO. This is now a
stand-alone kernel module. More logic will be moving here in the future
to handle bridged devices.
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Reviewed-by: Alex Elder <elder@linaro.org>
diff --git a/drivers/staging/greybus/Makefile b/drivers/staging/greybus/Makefile
index 79cb193..5d73aed 100644
--- a/drivers/staging/greybus/Makefile
+++ b/drivers/staging/greybus/Makefile
@@ -7,14 +7,17 @@
bundle.o \
connection.o \
protocol.o \
- operation.o \
- gpio-gb.o \
- pwm-gb.o \
+ operation.o
+
+gpbridge-y := gpb.o \
sdio-gb.o \
uart-gb.o \
+ pwm-gb.o \
+ gpio-gb.o \
usb-gb.o
obj-m += greybus.o
+obj-m += gpbridge.o
obj-m += i2c-gb.o
obj-m += vibrator-gb.o
obj-m += battery-gb.o