]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
PCI: generic: Expose pci_host_common_probe() for use by other drivers
authorDavid Daney <david.daney@cavium.com>
Fri, 11 Mar 2016 21:35:55 +0000 (15:35 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 11 Mar 2016 21:50:20 +0000 (15:50 -0600)
commit4e64dbe226e707b442d45c2096dde2090f34f84d
tree4affe2d8517d33bbff1db88c90e6209ae002d7b8
parentd51b371087d7198c733d2ef3c4db8165aee4de4e
PCI: generic: Expose pci_host_common_probe() for use by other drivers

Move pci_host_common_probe() and associated functions to pci-host-common.c,
where it can be shared with other drivers.  Make it public (not static)
and update Kconfig and Makefile to build it.  No functional change
intended.

[bhelgaas: split into separate patch, changelog]
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Will Deacon <will.deacon@arm.com>
MAINTAINERS
drivers/pci/host/Kconfig
drivers/pci/host/Makefile
drivers/pci/host/pci-host-common.c [new file with mode: 0644]
drivers/pci/host/pci-host-common.h
drivers/pci/host/pci-host-generic.c