aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-hub.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ohci-hub.c')
-rw-r--r--drivers/usb/host/ohci-hub.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-hub.c b/drivers/usb/host/ohci-hub.c
index 6995ea36f2e8..99357b99d133 100644
--- a/drivers/usb/host/ohci-hub.c
+++ b/drivers/usb/host/ohci-hub.c
@@ -50,6 +50,10 @@ static void ohci_rhsc_enable (struct usb_hcd *hcd)
50static void dl_done_list (struct ohci_hcd *); 50static void dl_done_list (struct ohci_hcd *);
51static void finish_unlinks (struct ohci_hcd *, u16); 51static void finish_unlinks (struct ohci_hcd *, u16);
52 52
53#ifdef CONFIG_PM
54static int ohci_restart(struct ohci_hcd *ohci);
55#endif
56
53static int ohci_rh_suspend (struct ohci_hcd *ohci, int autostop) 57static int ohci_rh_suspend (struct ohci_hcd *ohci, int autostop)
54__releases(ohci->lock) 58__releases(ohci->lock)
55__acquires(ohci->lock) 59__acquires(ohci->lock)
@@ -132,8 +136,6 @@ static inline struct ed *find_head (struct ed *ed)
132 return ed; 136 return ed;
133} 137}
134 138
135static int ohci_restart (struct ohci_hcd *ohci);
136
137/* caller has locked the root hub */ 139/* caller has locked the root hub */
138static int ohci_rh_resume (struct ohci_hcd *ohci) 140static int ohci_rh_resume (struct ohci_hcd *ohci)
139__releases(ohci->lock) 141__releases(ohci->lock)