USB: OHCI: add missing PCI PM callbacks to ohci-pci.c

Commit c1117afb8589 (USB: OHCI: make ohci-pci a separate driver)
neglected to preserve the entries for the pci_suspend and pci_resume
driver callbacks. As a result, OHCI controllers don't work properly
during suspend and after hibernation.

This patch adds the missing callbacks to the driver.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-and-tested-by: Steve Cotton <steve@s.cotton.clara.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by Alan Stern and committed by Greg Kroah-Hartman 9a11899c b36f4be3

Changed files
+5
drivers
usb
host
+5
drivers/usb/host/ohci-pci.c
··· 304 304 pr_info("%s: " DRIVER_DESC "\n", hcd_name); 305 305 306 306 ohci_init_driver(&ohci_pci_hc_driver, &pci_overrides); 307 + 308 + /* Entries for the PCI suspend/resume callbacks are special */ 309 + ohci_pci_hc_driver.pci_suspend = ohci_suspend; 310 + ohci_pci_hc_driver.pci_resume = ohci_resume; 311 + 307 312 return pci_register_driver(&ohci_pci_driver); 308 313 } 309 314 module_init(ohci_pci_init);