greybus: pwm: Create separate module
Create separate module for pwm gpbridge driver.
Tested on EVT 1.5 by inserting GP test module, all the devices were
enumerated correctly.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
diff --git a/drivers/staging/greybus/Makefile b/drivers/staging/greybus/Makefile
index b9e4e96..2bd23b7 100644
--- a/drivers/staging/greybus/Makefile
+++ b/drivers/staging/greybus/Makefile
@@ -17,7 +17,6 @@
gb-phy-y := gpbridge.o \
sdio.o \
uart.o \
- pwm.o \
spi.o \
usb.o
@@ -38,6 +37,7 @@
gb-audio-manager-y += audio_manager_module.o
gb-camera-y := camera.o
gb-firmware-y := fw-core.o fw-download.o
+gb-pwm-y := pwm.o
gb-gpio-y := gpio.o
gb-i2c-y := i2c.o
@@ -62,6 +62,7 @@
obj-m += gb-audio-apbridgea.o
obj-m += gb-audio-manager.o
obj-m += gb-firmware.o
+obj-m += gb-pwm.o
obj-m += gb-gpio.o
obj-m += gb-i2c.o