summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-hcd.c
diff options
context:
space:
mode:
authorDeepak Sikri <deepak.sikri@st.com>2010-11-10 14:33:18 +0530
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-16 13:53:29 -0800
commitc8c38de9d8002578599222296b90696745ac0fe3 (patch)
tree11122dfc8a9b8bfeba387d04152c445f53b4c091 /drivers/usb/host/ehci-hcd.c
parentad78acafeed26f62c9e644f96eecb7c19bd78bb4 (diff)
downloadblackbird-op-linux-c8c38de9d8002578599222296b90696745ac0fe3.tar.gz
blackbird-op-linux-c8c38de9d8002578599222296b90696745ac0fe3.zip
USB host: Adding USB ehci & ohci support for spear platform
This patch adds support for ehci and ohci controller in the SPEAr platform. Changes since V2: added clear_tt_buffer_complete in ehci_spear_hc_driver Signed-off-by: Deepak Sikri <deepak.sikri@st.com> Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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 10f985def70f..87157db155f6 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -1221,6 +1221,11 @@ MODULE_LICENSE ("GPL");
#define PLATFORM_DRIVER vt8500_ehci_driver
#endif
+#ifdef CONFIG_PLAT_SPEAR
+#include "ehci-spear.c"
+#define PLATFORM_DRIVER spear_ehci_hcd_driver
+#endif
+
#if !defined(PCI_DRIVER) && !defined(PLATFORM_DRIVER) && \
!defined(PS3_SYSTEM_BUS_DRIVER) && !defined(OF_PLATFORM_DRIVER) && \
!defined(XILINX_OF_PLATFORM_DRIVER)
OpenPOWER on IntegriCloud