summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/Makefile
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2012-05-11 17:25:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-11 16:49:51 -0700
commite443b333629f82ca0da91a05ca638050943bbedd (patch)
treed8c2cbf06e7faeef2c062b01271f8987cca23459 /drivers/usb/chipidea/Makefile
parentbc25a80d12ea971ddd652717150058989b1ad474 (diff)
downloadop-kernel-dev-e443b333629f82ca0da91a05ca638050943bbedd.zip
op-kernel-dev-e443b333629f82ca0da91a05ca638050943bbedd.tar.gz
usb: chipidea: split the driver code into units
Split the driver into the following parts: * core -- resources, register access, capabilities, etc; * udc -- device controller functionality; * debug -- logging events. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/Makefile')
-rw-r--r--drivers/usb/chipidea/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/Makefile b/drivers/usb/chipidea/Makefile
index e56bedb..a8279aa 100644
--- a/drivers/usb/chipidea/Makefile
+++ b/drivers/usb/chipidea/Makefile
@@ -1,6 +1,8 @@
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o
-ci_hdrc-y := ci13xxx_udc.o
+ci_hdrc-y := core.o
+ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o
+ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG) += debug.o
ifneq ($(CONFIG_PCI),)
obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_pci.o
OpenPOWER on IntegriCloud