]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Make pci_register_host_bridge() PCI core internal
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 28 Jun 2017 20:13:55 +0000 (15:13 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 28 Jun 2017 20:13:55 +0000 (15:13 -0500)
commit572766c18108e69a43f098428b746e1e999aed94
tree95bf2ee2bc00c1b9a082c6bdf3c502c96ff97c1f
parentf98d61014d2f0bcdfa2e3dc96edd4cc44bdb6ea9
PCI: Make pci_register_host_bridge() PCI core internal

With the introduction of pci_scan_root_bus_bridge() there is no need to
export pci_register_host_bridge() to other kernel subsystems other than the
PCI compilation unit that needs it.

Make pci_register_host_bridge() static to its compilation unit and convert
the existing drivers usage over to pci_scan_root_bus_bridge().

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Arnd Bergmann <arnd@arndb.de>
drivers/pci/host/pci-ftpci100.c
drivers/pci/host/pci-tegra.c
drivers/pci/probe.c
include/linux/pci.h