aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-hcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ohci-hcd.c')
-rw-r--r--drivers/usb/host/ohci-hcd.c13
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
80static void ohci_dump (struct ohci_hcd *ohci, int verbose); 79static void ohci_dump (struct ohci_hcd *ohci, int verbose);
81static int ohci_init (struct ohci_hcd *ohci); 80static 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
88static void quirk_amd_pll(int state);
89static void amd_iso_dev_put(void);
89static void sb800_prefetch(struct ohci_hcd *ohci, int on); 90static void sb800_prefetch(struct ohci_hcd *ohci, int on);
90#else 91#else
92static inline void quirk_amd_pll(int state)
93{
94 return;
95}
96static inline void amd_iso_dev_put(void)
97{
98 return;
99}
91static inline void sb800_prefetch(struct ohci_hcd *ohci, int on) 100static 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);