提交 edfd6aee 编写于 作者: D david-b@pacbell.net 提交者: Greg Kroah-Hartman

[PATCH] USB: fix ohci merge glitch

A patch re-organizing some parts of root hub initialization deleted the
code initializing the bus-neutral reboot/shutdown notifier for OHCI.
This patch just restores that deleted code.
Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 b404a5b0
...@@ -673,8 +673,10 @@ static int ohci_run (struct ohci_hcd *ohci) ...@@ -673,8 +673,10 @@ static int ohci_run (struct ohci_hcd *ohci)
ohci_dump (ohci, 1); ohci_dump (ohci, 1);
if (ohci_to_hcd(ohci)->self.root_hub == NULL) if (ohci_to_hcd(ohci)->self.root_hub == NULL) {
register_reboot_notifier (&ohci->reboot_notifier);
create_debug_files (ohci); create_debug_files (ohci);
}
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册