From: Manjunath Goudar Date: Fri, 15 Feb 2013 22:12:29 +0000 (+0100) Subject: USB: EHCI: make ehci-orion a separate driver X-Git-Tag: v3.9-rc1~126^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ed3c43d05f6d0d55f17947bc287f35318fd96f8;p=pandora-kernel.git USB: EHCI: make ehci-orion a separate driver With the multiplatform changes in arm-soc tree, it becomes possible to enable the mvebu platform (which uses ehci-orion) at the same time as other platforms that require a conflicting EHCI bus glue. At the moment, this results in a warning like drivers/usb/host/ehci-hcd.c:1297:0: warning: "PLATFORM_DRIVER" redefined [enabled by default] drivers/usb/host/ehci-hcd.c:1277:0: note: this is the location of the previous definition drivers/usb/host/ehci-orion.c:334:31: warning: 'ehci_orion_driver' defined but not used [-Wunused-variable] and an ehci driver that only works on one of them. With the infrastructure added by Alan Stern in patch 3e0232039 "USB: EHCI: prepare to make ehci-hcd a library module", we can avoid this problem by turning a bus glue into a separate module, as we do here for the orion bus glue. Signed-off-by: Manjunath Goudar Signed-off-by: Arnd Bergmann Cc: Jason Cooper Cc: Andrew Lunn Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed