Skip to content

Commit

Permalink
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6
Browse files Browse the repository at this point in the history
* master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6:
  USB: fix build error in ohci driver
  • Loading branch information
Linus Torvalds committed Sep 29, 2006
2 parents 2ff7125 + 6e3ce3a commit c972398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/host/ohci-hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ static inline struct ed *find_head (struct ed *ed)
return ed;
}

static int ohci_restart (struct ohci_hcd *ohci);

/* caller has locked the root hub */
static int ohci_rh_resume (struct ohci_hcd *ohci)
__releases(ohci->lock)
Expand Down Expand Up @@ -181,8 +183,6 @@ __acquires(ohci->lock)
#ifdef CONFIG_PM
if (status == -EBUSY) {
if (!autostopped) {
static int ohci_restart (struct ohci_hcd *ohci);

spin_unlock_irq (&ohci->lock);
(void) ohci_init (ohci);
status = ohci_restart (ohci);
Expand Down

0 comments on commit c972398

Please sign in to comment.