aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-hcd.c
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-03-12 20:04:48 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-15 15:42:07 -0400
commit7a7a4a592f42d9abf3b6cc40620b3f79fef49246 (patch)
treeb51cd6655476657d11127d166b9036b1e73e84de /drivers/usb/host/ehci-hcd.c
parentfa3364b5a2d79b0c94a912b371c92bd3d06bc8fb (diff)
USB: EHCI: Add a generic platform device driver
This adds a generic driver for platform devices. It works like the PCI driver and is based on it. This is for devices which do not have an own bus but their EHCI controller works like a PCI controller. It will be used for the Broadcom bcma and ssb USB EHCI controller. Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
-rw-r--r--drivers/usb/host/ehci-hcd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 06e2548b549c..c97b2b6378d6 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -1376,6 +1376,11 @@ MODULE_LICENSE ("GPL");
1376#define PLATFORM_DRIVER ehci_ls1x_driver 1376#define PLATFORM_DRIVER ehci_ls1x_driver
1377#endif 1377#endif
1378 1378
1379#ifdef CONFIG_USB_EHCI_HCD_PLATFORM
1380#include "ehci-platform.c"
1381#define PLATFORM_DRIVER ehci_platform_driver
1382#endif
1383
1379#if !defined(PCI_DRIVER) && !defined(PLATFORM_DRIVER) && \ 1384#if !defined(PCI_DRIVER) && !defined(PLATFORM_DRIVER) && \
1380 !defined(PS3_SYSTEM_BUS_DRIVER) && !defined(OF_PLATFORM_DRIVER) && \ 1385 !defined(PS3_SYSTEM_BUS_DRIVER) && !defined(OF_PLATFORM_DRIVER) && \
1381 !defined(XILINX_OF_PLATFORM_DRIVER) 1386 !defined(XILINX_OF_PLATFORM_DRIVER)