summaryrefslogtreecommitdiff
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
authorJianjun Wang <jianjun.wang@mediatek.com>2021-04-20 09:17:18 +0300
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2021-04-20 12:11:36 +0300
commit9cc742078c9a90cdd4cf131e9f760e6965df9048 (patch)
tree2d683ecf87752e9b223a7a4bcde1ed35be7acf39 /drivers/pci/pci.c
parent07ca255e3d49bb31f6b7398bd0b3c62c94142c19 (diff)
downloadlinux-9cc742078c9a90cdd4cf131e9f760e6965df9048.tar.xz
PCI: Export pci_pio_to_address() for module use
This interface will be used by PCI host drivers for PIO translation, export it to support compiling those drivers as kernel modules. Link: https://lore.kernel.org/r/20210420061723.989-3-jianjun.wang@mediatek.com Signed-off-by: Jianjun Wang <jianjun.wang@mediatek.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r--drivers/pci/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 16a17215f633..09f1714e23be 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -4052,6 +4052,7 @@ phys_addr_t pci_pio_to_address(unsigned long pio)
return address;
}
+EXPORT_SYMBOL_GPL(pci_pio_to_address);
unsigned long __weak pci_address_to_pio(phys_addr_t address)
{