diff options
Diffstat (limited to 'drivers/usb/host/ohci-hcd.c')
-rw-r--r-- | drivers/usb/host/ohci-hcd.c | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index 759a12ff8048..fb035751e4b2 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c | |||
@@ -75,6 +75,7 @@ static const char hcd_name [] = "ohci_hcd"; | |||
75 | #define STATECHANGE_DELAY msecs_to_jiffies(300) | 75 | #define STATECHANGE_DELAY msecs_to_jiffies(300) |
76 | 76 | ||
77 | #include "ohci.h" | 77 | #include "ohci.h" |
78 | #include "pci-quirks.h" | ||
78 | 79 | ||
79 | static void ohci_dump (struct ohci_hcd *ohci, int verbose); | 80 | static void ohci_dump (struct ohci_hcd *ohci, int verbose); |
80 | static int ohci_init (struct ohci_hcd *ohci); | 81 | static int ohci_init (struct ohci_hcd *ohci); |
@@ -85,18 +86,8 @@ static int ohci_restart (struct ohci_hcd *ohci); | |||
85 | #endif | 86 | #endif |
86 | 87 | ||
87 | #ifdef CONFIG_PCI | 88 | #ifdef CONFIG_PCI |
88 | static void quirk_amd_pll(int state); | ||
89 | static void amd_iso_dev_put(void); | ||
90 | static void sb800_prefetch(struct ohci_hcd *ohci, int on); | 89 | static void sb800_prefetch(struct ohci_hcd *ohci, int on); |
91 | #else | 90 | #else |
92 | static inline void quirk_amd_pll(int state) | ||
93 | { | ||
94 | return; | ||
95 | } | ||
96 | static inline void amd_iso_dev_put(void) | ||
97 | { | ||
98 | return; | ||
99 | } | ||
100 | static inline void sb800_prefetch(struct ohci_hcd *ohci, int on) | 91 | static inline void sb800_prefetch(struct ohci_hcd *ohci, int on) |
101 | { | 92 | { |
102 | return; | 93 | return; |
@@ -912,7 +903,7 @@ static void ohci_stop (struct usb_hcd *hcd) | |||
912 | if (quirk_zfmicro(ohci)) | 903 | if (quirk_zfmicro(ohci)) |
913 | del_timer(&ohci->unlink_watchdog); | 904 | del_timer(&ohci->unlink_watchdog); |
914 | if (quirk_amdiso(ohci)) | 905 | if (quirk_amdiso(ohci)) |
915 | amd_iso_dev_put(); | 906 | usb_amd_dev_put(); |
916 | 907 | ||
917 | remove_debug_files (ohci); | 908 | remove_debug_files (ohci); |
918 | ohci_mem_cleanup (ohci); | 909 | ohci_mem_cleanup (ohci); |
@@ -1068,10 +1059,7 @@ MODULE_LICENSE ("GPL"); | |||
1068 | #define PLATFORM_DRIVER ohci_hcd_da8xx_driver | 1059 | #define PLATFORM_DRIVER ohci_hcd_da8xx_driver |
1069 | #endif | 1060 | #endif |
1070 | 1061 | ||
1071 | #if defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | 1062 | #ifdef CONFIG_USB_OHCI_SH |
1072 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ | ||
1073 | defined(CONFIG_CPU_SUBTYPE_SH7763) || \ | ||
1074 | defined(CONFIG_CPU_SUBTYPE_SH7786) | ||
1075 | #include "ohci-sh.c" | 1063 | #include "ohci-sh.c" |
1076 | #define PLATFORM_DRIVER ohci_hcd_sh_driver | 1064 | #define PLATFORM_DRIVER ohci_hcd_sh_driver |
1077 | #endif | 1065 | #endif |