linux-next: manual merge of the usb tree with the usb.current tree
Hi all,
Today's linux-next merge of the usb tree got a conflict in:
drivers/usb/host/xhci-pci.c
between commit:
8e77d3d59d7b ("Revert "usb: xhci-pci: Set PROBE_PREFER_ASYNCHRONOUS"")
from the usb.current tree and commit:
130eac417085 ("xhci: use pm_ptr() instead of #ifdef for CONFIG_PM conditionals")
from the usb tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
Signature · 21 lines
Cheers,
Stephen Rothwell
diff --cc drivers/usb/host/xhci-pci.c
index 6db07ca419c3,bbbb01282038..000000000000
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@@ -771,11 -967,10 +967,9 @@@ static struct pci_driver xhci_pci_drive
/* 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),
- .probe_type = PROBE_PREFER_ASYNCHRONOUS,
},
- #endif
};
static int __init xhci_pci_init(void)Quoted 35 lines · Stephen Rothwell
Hi all,
Today's linux-next merge of the usb tree got a conflict in:
drivers/usb/host/xhci-pci.cbetween commit:
8e77d3d59d7b("Revert "usb: xhci-pci: SetPROBE_PREFER_ASYNCHRONOUS"")from the usb.current tree and commit:
130eac417085("xhci: usepm_ptr()instead of #ifdef forCONFIG_PMconditionals")from the usb tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
Signature · 2 lines
Cheers, Stephen Rothwelldrivers/usb/host/xhci-pci.c +0
-0@@@ -771,11 -967,10 +967,9 @@@ static struct pci_driver xhci_pci_drive/* suspend and resume implemented later */ .shutdown = usb_hcd_pci_shutdown,
drivers/usb/host/xhci-pci.c
Quoted 10 lines
drivers/usb/host/xhci-pci.c +1
-3-#ifdef CONFIG_PM .driver = { - .pm = &usb_hcd_pci_pm_ops + .pm = pm_ptr(&usb_hcd_pci_pm_ops), - .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, -#endif };static int __init xhci_pci_init (void )
Thanks, this looks good. I'll resolve it this way when I send the usb-linus branch to Linus this weekend.
greg k-h
Quoted 35 lines · Stephen Rothwell
Hi all,
Today's linux-next merge of the usb tree got a conflict in:
drivers/usb/host/xhci-pci.cbetween commit:
8e77d3d59d7b("Revert "usb: xhci-pci: SetPROBE_PREFER_ASYNCHRONOUS"")from the usb.current tree and commit:
130eac417085("xhci: usepm_ptr()instead of #ifdef forCONFIG_PMconditionals")from the usb tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
Signature · 2 lines
Cheers, Stephen Rothwelldrivers/usb/host/xhci-pci.c +0
-0@@@ -771,11 -967,10 +967,9 @@@ static struct pci_driver xhci_pci_drive/* suspend and resume implemented later */ .shutdown = usb_hcd_pci_shutdown,
drivers/usb/host/xhci-pci.c
Quoted 10 lines
drivers/usb/host/xhci-pci.c +1
-3-#ifdef CONFIG_PM .driver = { - .pm = &usb_hcd_pci_pm_ops + .pm = pm_ptr(&usb_hcd_pci_pm_ops), - .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, -#endif };static int __init xhci_pci_init (void )
Now resolved in my tree, thanks.
greg k-h