USB: Properly unregister reboot notifier in case of failure in ehci hcd
[deliverable/linux.git] / drivers / usb / host / ohci-pci.c
index ef874443aa9f3d4523f63bd48c2c498cc2bfc5bc..3732db7d68eb58ed193130ff47f9aea20fc910e6 100644 (file)
@@ -177,6 +177,7 @@ static const struct hc_driver ohci_pci_hc_driver = {
        .reset =                ohci_pci_reset,
        .start =                ohci_pci_start,
        .stop =                 ohci_stop,
+       .shutdown =             ohci_shutdown,
 
 #ifdef CONFIG_PM
        /* these suspend/resume entries are for upstream PCI glue ONLY */
@@ -232,6 +233,8 @@ static struct pci_driver ohci_pci_driver = {
        .suspend =      usb_hcd_pci_suspend,
        .resume =       usb_hcd_pci_resume,
 #endif
+
+       .shutdown =     usb_hcd_pci_shutdown,
 };
 
  
This page took 0.025301 seconds and 5 git commands to generate.