summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-hcd.c
diff options
context:
space:
mode:
authorTanmay Upadhyay <tanmay.upadhyay@einfochips.com>2011-07-20 10:00:58 +0530
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-22 15:38:30 -0700
commit3abd7f68b28dcf6394c71c998376fc7bc92342c4 (patch)
tree31bda72bb574ba7766607ab19f3b2d121fc45808 /drivers/usb/host/ehci-hcd.c
parent7a01f496c5218d98ea4542f74fccb60c23b6185c (diff)
downloadop-kernel-dev-3abd7f68b28dcf6394c71c998376fc7bc92342c4.zip
op-kernel-dev-3abd7f68b28dcf6394c71c998376fc7bc92342c4.tar.gz
USB: pxa168: Add onchip USB host controller support
- Add EHCI Host controller driver - Add wrapper that creates resources for host controller driver v2 - Call clk_put() after clk_disable() in probe function Signed-off-by: Tanmay Upadhyay <tanmay.upadhyay@einfochips.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 f72ae0b..750f60f 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -1291,6 +1291,11 @@ MODULE_LICENSE ("GPL");
#define PLATFORM_DRIVER ehci_grlib_driver
#endif
+#ifdef CONFIG_USB_PXA168_EHCI
+#include "ehci-pxa168.c"
+#define PLATFORM_DRIVER ehci_pxa168_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