summaryrefslogtreecommitdiff
path: root/drivers/pnp/card.c
diff options
context:
space:
mode:
authorWei Yang <weiyang@linux.vnet.ibm.com>2015-03-25 08:23:48 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2015-03-31 02:02:36 (GMT)
commitb07579c0924eee1543eb6cd2c19544d15a4b5236 (patch)
treecb0f9cd7ec419b1abb41d4fd72d08528a1cc99d3 /drivers/pnp/card.c
parent4449f079722c86d2f6925da039835acdd8e973a8 (diff)
downloadlinux-b07579c0924eee1543eb6cd2c19544d15a4b5236.tar.xz
PCI: Export pci_iov_virtfn_bus() and pci_iov_virtfn_devfn()
On PowerNV, some resource reservation is needed for SR-IOV VFs that don't exist at the bootup stage. To do the match between resources and VFs, the code need to get the VF's BDF in advance. Rename virtfn_bus() and virtfn_devfn() to pci_iov_virtfn_bus() and pci_iov_virtfn_devfn() and export them. [bhelgaas: changelog, make "busnr" int] Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/pnp/card.c')
0 files changed, 0 insertions, 0 deletions