summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/pci-host-generic.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2024-01-15 12:10:34 -0600
committerBjorn Helgaas <bhelgaas@google.com>2024-01-15 12:10:34 -0600
commit78e5ad791faeb97a35c705b3f772dd3bc7dd6b47 (patch)
tree87c409b62c88c2a902c14a4ae33d276081def9e6 /drivers/pci/controller/pci-host-generic.c
parent996e337f4d33e8775f8f357d4e9234c7efc654d9 (diff)
parentac4f1897fa5433a1b07a625503a91b6aa9d7e643 (diff)
downloadlwn-78e5ad791faeb97a35c705b3f772dd3bc7dd6b47.tar.gz
lwn-78e5ad791faeb97a35c705b3f772dd3bc7dd6b47.zip
Merge branch 'pci/enumeration'
- Convert pci-host-common.c platform .remove() callback to .remove_new() returning 'void' since it's not useful to return error codes here (Uwe Kleine-König) - Log a message about updating AMD USB controller class code (so dwc3, not xhci, claims it) only when we actually change it (Guilherme G. Piccoli) - Use PCI_HEADER_TYPE_* instead of literals in x86, powerpc, SCSI lpfc (Ilpo Järvinen) - Clean up open-coded PCIBIOS return code mangling (Ilpo Järvinen) - Fix 64GT/s effective data rate calculation to use 1b/1b encoding rather than the 8b/10b or 128b/130b used by lower rates (Ilpo Järvinen) * pci/enumeration: PCI: Fix 64GT/s effective data rate calculation x86/pci: Clean up open-coded PCIBIOS return code mangling scsi: lpfc: Use PCI_HEADER_TYPE_MFD instead of literal powerpc/fsl-pci: Use PCI_HEADER_TYPE_MASK instead of literal x86/pci: Use PCI_HEADER_TYPE_* instead of literals PCI: Only override AMD USB controller if required PCI: host-generic: Convert to platform remove callback returning void
Diffstat (limited to 'drivers/pci/controller/pci-host-generic.c')
-rw-r--r--drivers/pci/controller/pci-host-generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/pci-host-generic.c b/drivers/pci/controller/pci-host-generic.c
index 63865aeb636b..41cb6a057f6e 100644
--- a/drivers/pci/controller/pci-host-generic.c
+++ b/drivers/pci/controller/pci-host-generic.c
@@ -82,7 +82,7 @@ static struct platform_driver gen_pci_driver = {
.of_match_table = gen_pci_of_match,
},
.probe = pci_host_common_probe,
- .remove = pci_host_common_remove,
+ .remove_new = pci_host_common_remove,
};
module_platform_driver(gen_pci_driver);