PCI: Export pcie_find_root_port
authorJohannes Thumshirn <jthumshirn@suse.de>
Wed, 2 Nov 2016 22:35:51 +0000 (16:35 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Dec 2016 06:15:24 +0000 (07:15 +0100)
commit140ff0a348970430e4eb06a63afbbe5510f9c8d1
tree5d7e66e2bf0abb642260f41ea5b609e8a6066f98
parentdfb704f96cd190239e7b86b09810a136cf25506e
PCI: Export pcie_find_root_port

commit e784930bd645e7df78c66e7872fec282b0620075 upstream.

Export pcie_find_root_port() so we can use it outside of PCIe-AER error
injection.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/pcie/aer/aer_inject.c
include/linux/pci.h