diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-29 02:06:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-29 02:06:45 +0200 |
commit | 6e3ce3ae8e872f2d3a30f5ce5bc3b7c5eeca4343 (patch) | |
tree | d280a3f08a0e9803d270e45507c0a28df7cb044b /drivers/usb | |
parent | USB: g_file_storage: Set sense info Valid bit only when needed (diff) | |
download | linux-6e3ce3ae8e872f2d3a30f5ce5bc3b7c5eeca4343.tar.xz linux-6e3ce3ae8e872f2d3a30f5ce5bc3b7c5eeca4343.zip |
USB: fix build error in ohci driver
Thanks to Andrew for the original patch for this.
I need to upgrade my version of gcc to catch these things...
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-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) 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) @@ -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); |