History

PCI: host-generic: Eliminate pci_host_common_probe wrappers

Most ECAM host drivers are just different pci_ecam_ops which can be DT match table data. That's already the case in some cases, but let's do that for all the ECAM drivers. Then we can use of_device_get_match_data() in pci_host_common_probe() and eliminate the probe wrapper functions and use pci_host_common_probe() directly for probe.

Rob Herring committed 6 years ago

Commit b2f75a41 parent 0c59c067 files · +25 −44Browse files

Showing the changes to include/linux (1 of 7 files). Show all

Unified · Split

include/linux/pci-ecam.h+1−2
@@ -61,8 +61,7 @@ extern const struct pci_ecam_ops al_pcie_ops; /* Amazon Annapurna Labs PCIe */ · 60 unmodified lines
6161
6262 #if IS_ENABLED(CONFIG_PCI_HOST_COMMON)
6363 /* for DT-based PCI controllers that support ECAM */
64−int pci_host_common_probe(struct platform_device *pdev,
65− const struct pci_ecam_ops *ops);
64+int pci_host_common_probe(struct platform_device *pdev);
6665 int pci_host_common_remove(struct platform_device *pdev);
6766 #endif
6867 #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t