/*-------------------------------------------------------------------------*/
-@@ -689,9 +691,11 @@ static struct pci_driver xhci_pci_driver
+@@ -691,9 +693,11 @@ static struct pci_driver xhci_pci_driver
static int __init xhci_pci_init(void)
{
xhci_init_driver(&xhci_pci_hc_driver, &xhci_pci_overrides);
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
- drivers/usb/host/xhci-pci.c | 8 +-------
+ drivers/usb/host/xhci-pci.c | 4 ----
include/linux/usb.h | 3 +--
include/linux/usb/hcd.h | 2 --
- 3 files changed, 2 insertions(+), 11 deletions(-)
+ 3 files changed, 1 insertion(+), 8 deletions(-)
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
/*-------------------------------------------------------------------------*/
-@@ -683,21 +681,17 @@ static struct pci_driver xhci_pci_driver
- /* suspend and resume implemented later */
-
- .shutdown = usb_hcd_pci_shutdown,
--#ifdef CONFIG_PM
- .driver = {
-- .pm = &usb_hcd_pci_pm_ops
-+ .pm = pm_ptr(&usb_hcd_pci_pm_ops),
- },
--#endif
- };
-
+@@ -693,11 +691,9 @@ static struct pci_driver xhci_pci_driver
static int __init xhci_pci_init(void)
{
xhci_init_driver(&xhci_pci_hc_driver, &xhci_pci_overrides);