提交 6e3ce3ae 编写于 作者: G Greg Kroah-Hartman

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: NGreg Kroah-Hartman <gregkh@suse.de>
上级 6174d0fd
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册