mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
[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: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
b404a5b02a
commit
edfd6aee1f
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue