aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authordavid-b@pacbell.net <david-b@pacbell.net>2005-06-29 07:03:10 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-07-12 11:52:57 -0700
commitedfd6aee1f073ae645bd3e60ef96090fc9f0957b (patch)
tree562023bfb83441b20d61169780bc555065f175aa /drivers/usb
parentb404a5b02abf84812e5333bda201af464925d7a6 (diff)
downloadkernel_samsung_aries-edfd6aee1f073ae645bd3e60ef96090fc9f0957b.zip
kernel_samsung_aries-edfd6aee1f073ae645bd3e60ef96090fc9f0957b.tar.gz
kernel_samsung_aries-edfd6aee1f073ae645bd3e60ef96090fc9f0957b.tar.bz2
[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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ohci-hcd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
index 0375097..68decab 100644
--- a/drivers/usb/host/ohci-hcd.c
+++ b/drivers/usb/host/ohci-hcd.c
@@ -673,8 +673,10 @@ retry:
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;
}