diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 01:59:32 -0400 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 01:59:32 -0400 | 
| commit | c972398b7871d9fb58c6a317786065a7cc6ca4be (patch) | |
| tree | d83d783326f2c7204d8e1ff7812319e2be91be0c | |
| parent | 2ff712585a5026a021859233fce145068292584d (diff) | |
| parent | 6e3ce3ae8e872f2d3a30f5ce5bc3b7c5eeca4343 (diff) | |
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
| -rw-r--r-- | drivers/usb/host/ohci-hub.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/drivers/usb/host/ohci-hub.c b/drivers/usb/host/ohci-hub.c index f36cbd02736d..ec75774abeac 100644 --- a/drivers/usb/host/ohci-hub.c +++ b/drivers/usb/host/ohci-hub.c | |||
| @@ -132,6 +132,8 @@ static inline struct ed *find_head (struct ed *ed) | |||
| 132 | return ed; | 132 | return ed; | 
| 133 | } | 133 | } | 
| 134 | 134 | ||
| 135 | static int ohci_restart (struct ohci_hcd *ohci); | ||
| 136 | |||
| 135 | /* caller has locked the root hub */ | 137 | /* caller has locked the root hub */ | 
| 136 | static int ohci_rh_resume (struct ohci_hcd *ohci) | 138 | static int ohci_rh_resume (struct ohci_hcd *ohci) | 
| 137 | __releases(ohci->lock) | 139 | __releases(ohci->lock) | 
| @@ -181,8 +183,6 @@ __acquires(ohci->lock) | |||
| 181 | #ifdef CONFIG_PM | 183 | #ifdef CONFIG_PM | 
| 182 | if (status == -EBUSY) { | 184 | if (status == -EBUSY) { | 
| 183 | if (!autostopped) { | 185 | if (!autostopped) { | 
| 184 | static int ohci_restart (struct ohci_hcd *ohci); | ||
| 185 | |||
| 186 | spin_unlock_irq (&ohci->lock); | 186 | spin_unlock_irq (&ohci->lock); | 
| 187 | (void) ohci_init (ohci); | 187 | (void) ohci_init (ohci); | 
| 188 | status = ohci_restart (ohci); | 188 | status = ohci_restart (ohci); | 
