summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorFelipe Balbi2012-06-29 11:48:50 +0200
committerGreg Kroah-Hartman2012-07-06 19:58:38 +0200
commitb2006d91d8e389a04ffbf603b3896af93b0af427 (patch)
tree7dde880c02322eb70eb14bb49fcb3f49f63ec042 /drivers/usb
parentusb: chipidea: remove unneeded NULL check (diff)
downloadkernel-qcow2-linux-b2006d91d8e389a04ffbf603b3896af93b0af427.tar.gz
kernel-qcow2-linux-b2006d91d8e389a04ffbf603b3896af93b0af427.tar.xz
kernel-qcow2-linux-b2006d91d8e389a04ffbf603b3896af93b0af427.zip
usb: chipidea: drop useless arch-check
msm glue layer compiles on all arches just fine. Let's drop the unnecessary ARCH check so we have easier compile tests. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Richard Zhao <richard.zhao@freescale.com> Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/chipidea/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/usb/chipidea/Makefile b/drivers/usb/chipidea/Makefile
index cc3493769724..b69900a62a4d 100644
--- a/drivers/usb/chipidea/Makefile
+++ b/drivers/usb/chipidea/Makefile
@@ -5,10 +5,12 @@ ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o
ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST) += host.o
ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG) += debug.o
+# Glue/Bridge layers go here
+
+obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_msm.o
+
+# PCI doesn't provide stubs, need to check
ifneq ($(CONFIG_PCI),)
obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_pci.o
endif
-ifneq ($(CONFIG_ARCH_MSM),)
- obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_msm.o
-endif