diff options
Diffstat (limited to 'drivers/usb/host/ohci-hcd.c')
-rw-r--r-- | drivers/usb/host/ohci-hcd.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index 7b791bf1e7b4..759a12ff8048 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c | |||
@@ -75,7 +75,6 @@ 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" | ||
79 | 78 | ||
80 | static void ohci_dump (struct ohci_hcd *ohci, int verbose); | 79 | static void ohci_dump (struct ohci_hcd *ohci, int verbose); |
81 | static int ohci_init (struct ohci_hcd *ohci); | 80 | static int ohci_init (struct ohci_hcd *ohci); |
@@ -86,8 +85,18 @@ static int ohci_restart (struct ohci_hcd *ohci); | |||
86 | #endif | 85 | #endif |
87 | 86 | ||
88 | #ifdef CONFIG_PCI | 87 | #ifdef CONFIG_PCI |
88 | static void quirk_amd_pll(int state); | ||
89 | static void amd_iso_dev_put(void); | ||
89 | static void sb800_prefetch(struct ohci_hcd *ohci, int on); | 90 | static void sb800_prefetch(struct ohci_hcd *ohci, int on); |
90 | #else | 91 | #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 | } | ||
91 | static inline void sb800_prefetch(struct ohci_hcd *ohci, int on) | 100 | static inline void sb800_prefetch(struct ohci_hcd *ohci, int on) |
92 | { | 101 | { |
93 | return; | 102 | return; |
@@ -903,7 +912,7 @@ static void ohci_stop (struct usb_hcd *hcd) | |||
903 | if (quirk_zfmicro(ohci)) | 912 | if (quirk_zfmicro(ohci)) |
904 | del_timer(&ohci->unlink_watchdog); | 913 | del_timer(&ohci->unlink_watchdog); |
905 | if (quirk_amdiso(ohci)) | 914 | if (quirk_amdiso(ohci)) |
906 | usb_amd_dev_put(); | 915 | amd_iso_dev_put(); |
907 | 916 | ||
908 | remove_debug_files (ohci); | 917 | remove_debug_files (ohci); |
909 | ohci_mem_cleanup (ohci); | 918 | ohci_mem_cleanup (ohci); |