diff options
author | Cyrille Pitchen <cyrille.pitchen@free-electrons.com> | 2018-01-30 23:56:52 +0300 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2018-01-31 14:09:51 +0300 |
commit | 49b8e3f3ed1d411a8f8fa5fbe72c88f3d1d43824 (patch) | |
tree | 392a2b9b0050ee52fe7a06fbfd4de4fa9e6ef57c /include/linux/pci_ids.h | |
parent | c6dd8ecf303780a6ac818d61a7b83cfd7e2525d1 (diff) | |
download | linux-49b8e3f3ed1d411a8f8fa5fbe72c88f3d1d43824.tar.xz |
PCI: Add generic function to probe PCI host controllers
This patchs moves generic source code from
drivers/pci/host/pci-host-common.c into drivers/pci/probe.c.
Indeed the extracted lines of code were duplicated by many host
controller drivers. Regrouping them into a generic function gives a
change to properly share this code without introducing a useless
dependency to PCI_HOST_COMMON, which selects PCI_ECAM when not needed by
most host controller drivers.
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@free-electrons.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'include/linux/pci_ids.h')
0 files changed, 0 insertions, 0 deletions