From: Wei Yang Date: Wed, 25 Mar 2015 08:23:48 +0000 (+0800) Subject: PCI: Export pci_iov_virtfn_bus() and pci_iov_virtfn_devfn() X-Git-Tag: omap-for-v4.1/fixes-rc1~126^2~7^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b07579c0924eee1543eb6cd2c19544d15a4b5236;p=pandora-kernel.git 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 Acked-by: Bjorn Helgaas Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed