Commit c972398b authored by Linus Torvalds's avatar Linus Torvalds

Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6

* master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6:
  USB: fix build error in ohci driver
parents 2ff71258 6e3ce3ae
...@@ -132,6 +132,8 @@ static inline struct ed *find_head (struct ed *ed) ...@@ -132,6 +132,8 @@ static inline struct ed *find_head (struct ed *ed)
return ed; return ed;
} }
static int ohci_restart (struct ohci_hcd *ohci);
/* caller has locked the root hub */ /* caller has locked the root hub */
static int ohci_rh_resume (struct ohci_hcd *ohci) static int ohci_rh_resume (struct ohci_hcd *ohci)
__releases(ohci->lock) __releases(ohci->lock)
...@@ -181,8 +183,6 @@ __acquires(ohci->lock) ...@@ -181,8 +183,6 @@ __acquires(ohci->lock)
#ifdef CONFIG_PM #ifdef CONFIG_PM
if (status == -EBUSY) { if (status == -EBUSY) {
if (!autostopped) { if (!autostopped) {
static int ohci_restart (struct ohci_hcd *ohci);
spin_unlock_irq (&ohci->lock); spin_unlock_irq (&ohci->lock);
(void) ohci_init (ohci); (void) ohci_init (ohci);
status = ohci_restart (ohci); status = ohci_restart (ohci);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment