]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix up 5.4 patches to actually build...
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Jan 2025 09:06:04 +0000 (10:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Jan 2025 09:06:04 +0000 (10:06 +0100)
queue-5.4/partial-revert-of-xhci-use-pm_ptr-instead-ifdef-for-config_pm-conditionals.patch
queue-5.4/xhci-use-pm_ptr-instead-of-ifdef-for-config_pm-conditionals.patch

index 60cb5b3d4c5d818386ea46cadf3b4cc0a64842c9..66e896eeab39c785d8d86cf76ece0fb0ee49328d 100644 (file)
@@ -47,7 +47,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  
  /*-------------------------------------------------------------------------*/
  
-@@ -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);
index 61bfc7e52d23b353ccf888d5b098ef9aa54b5924..5989a39538039383506657476c824538942b3bf5 100644 (file)
@@ -29,10 +29,10 @@ Link: https://lore.kernel.org/r/20230328131114.1296430-1-arnd@kernel.org
 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 |    ----
  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
@@ -52,18 +52,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  
  /*-------------------------------------------------------------------------*/
  
-@@ -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);