summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/Makefile
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-05-09 18:15:12 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2016-05-14 19:13:57 +0200
commitea7c47771ba13e143b3c328af8e03a1c45045cf0 (patch)
tree82a2de8920c08d387f9d471e1be9cb23e87de701 /drivers/staging/greybus/Makefile
parent66b9e09e28b0c32d9b071fc9084bbb8880b88d74 (diff)
greybus: usb: Create separate module
Create separate module for usb 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>
Diffstat (limited to 'drivers/staging/greybus/Makefile')
-rw-r--r--drivers/staging/greybus/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/greybus/Makefile b/drivers/staging/greybus/Makefile
index e99a9a83dd8e..592525ce7e8b 100644
--- a/drivers/staging/greybus/Makefile
+++ b/drivers/staging/greybus/Makefile
@@ -14,8 +14,7 @@ greybus-y := core.o \
operation.o \
legacy.o
-gb-phy-y := gpbridge.o \
- usb.o
+gb-phy-y := gpbridge.o
# Prefix all modules with gb-
gb-vibrator-y := vibrator.o
@@ -40,6 +39,7 @@ gb-uart-y := uart.o
gb-pwm-y := pwm.o
gb-gpio-y := gpio.o
gb-i2c-y := i2c.o
+gb-usb-y := usb.o
obj-m += greybus.o
obj-m += gb-phy.o
@@ -68,6 +68,7 @@ obj-m += gb-uart.o
obj-m += gb-pwm.o
obj-m += gb-gpio.o
obj-m += gb-i2c.o
+obj-m += gb-usb.o
KERNELVER ?= $(shell uname -r)
KERNELDIR ?= /lib/modules/$(KERNELVER)/build