summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-hcd.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-11-01 22:03:27 +0100
committerPaul Mundt <lethal@linux-sh.org>2010-11-01 22:03:27 +0100
commit63c845522263b2da08f70deba760ed0ab51e841d (patch)
tree6abb296e5f92b385b88d97e167e2ed331c36548d /drivers/usb/host/ehci-hcd.c
parentusb: ohci-sh: Set IRQ as shared. (diff)
downloadlinux-63c845522263b2da08f70deba760ed0ab51e841d.tar.xz
linux-63c845522263b2da08f70deba760ed0ab51e841d.zip
usb: ehci-hcd: Add support for SuperH EHCI.
This adds a trivial stub for supporting EHCI mode of the on-chip SH USB host controllers. Signed-off-by: Paul Mundt <lethal@linux-sh.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 502a7e6fef42..02ffbea0c8fa 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -1166,6 +1166,11 @@ MODULE_LICENSE ("GPL");
#define PLATFORM_DRIVER ehci_mxc_driver
#endif
+#ifdef CONFIG_CPU_SUBTYPE_SH7786
+#include "ehci-sh.c"
+#define PLATFORM_DRIVER ehci_hcd_sh_driver
+#endif
+
#ifdef CONFIG_SOC_AU1200
#include "ehci-au1xxx.c"
#define PLATFORM_DRIVER ehci_hcd_au1xxx_driver