|
@@ -305,9 +305,11 @@ static int __init ohci_pci_init(void)
|
|
|
|
|
|
ohci_init_driver(&ohci_pci_hc_driver, &pci_overrides);
|
|
ohci_init_driver(&ohci_pci_hc_driver, &pci_overrides);
|
|
|
|
|
|
|
|
+#ifdef CONFIG_PM
|
|
/* Entries for the PCI suspend/resume callbacks are special */
|
|
/* Entries for the PCI suspend/resume callbacks are special */
|
|
ohci_pci_hc_driver.pci_suspend = ohci_suspend;
|
|
ohci_pci_hc_driver.pci_suspend = ohci_suspend;
|
|
ohci_pci_hc_driver.pci_resume = ohci_resume;
|
|
ohci_pci_hc_driver.pci_resume = ohci_resume;
|
|
|
|
+#endif
|
|
|
|
|
|
return pci_register_driver(&ohci_pci_driver);
|
|
return pci_register_driver(&ohci_pci_driver);
|
|
}
|
|
}
|