aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJianjun Wang <[email protected]>2021-04-20 14:17:18 +0800
committerLorenzo Pieralisi <[email protected]>2021-04-20 10:11:36 +0100
commit9cc742078c9a90cdd4cf131e9f760e6965df9048 (patch)
tree2d683ecf87752e9b223a7a4bcde1ed35be7acf39
parent07ca255e3d49bb31f6b7398bd0b3c62c94142c19 (diff)
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/[email protected] Signed-off-by: Jianjun Wang <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Acked-by: Bjorn Helgaas <[email protected]>
-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)
{