Skip to content

Commit

Permalink
[PATCH] USB: fix ohci merge glitch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
david-b@pacbell.net authored and Greg Kroah-Hartman committed Jul 12, 2005
1 parent b404a5b commit edfd6ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/usb/host/ohci-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -673,8 +673,10 @@ static int ohci_run (struct ohci_hcd *ohci)

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);
}

return 0;
}
Expand Down

0 comments on commit edfd6ae

Please sign in to comment.