diff options
author | David Brownell <david-b@pacbell.net> | 2005-04-23 12:49:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-27 14:43:46 -0700 |
commit | f4df0e334a9fc731689e8ba4f42a0d72a7491348 (patch) | |
tree | 7bce31f214c0fe1feb221726f6f19b78cae3aa1c /drivers/usb/host/ohci-mem.c | |
parent | ff7c79e4f37821235b51fb8e19088c08938cc8fc (diff) | |
download | kernel_samsung_smdk4412-f4df0e334a9fc731689e8ba4f42a0d72a7491348.zip kernel_samsung_smdk4412-f4df0e334a9fc731689e8ba4f42a0d72a7491348.tar.gz kernel_samsung_smdk4412-f4df0e334a9fc731689e8ba4f42a0d72a7491348.tar.bz2 |
[PATCH] USB: add reboot notifier to ohci
Adds a reboot notifier to OHCI, mostly to benefit kexec; plus
minor #include tweaks.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ohci-mem.c')
-rw-r--r-- | drivers/usb/host/ohci-mem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ohci-mem.c b/drivers/usb/host/ohci-mem.c index e55682b..23735a3 100644 --- a/drivers/usb/host/ohci-mem.c +++ b/drivers/usb/host/ohci-mem.c @@ -29,6 +29,7 @@ static void ohci_hcd_init (struct ohci_hcd *ohci) spin_lock_init (&ohci->lock); INIT_LIST_HEAD (&ohci->pending); INIT_WORK (&ohci->rh_resume, ohci_rh_resume, ohci_to_hcd(ohci)); + ohci->reboot_notifier.notifier_call = ohci_reboot; } /*-------------------------------------------------------------------------*/ |