diff options
author | 2021-04-20 14:17:18 +0800 | |
---|---|---|
committer | 2021-04-20 10:11:36 +0100 | |
commit | 9cc742078c9a90cdd4cf131e9f760e6965df9048 (patch) | |
tree | 2d683ecf87752e9b223a7a4bcde1ed35be7acf39 /drivers/pci | |
parent | dt-bindings: PCI: mediatek-gen3: Add YAML schema (diff) | |
download | linux-9cc742078c9a90cdd4cf131e9f760e6965df9048.tar.gz linux-9cc742078c9a90cdd4cf131e9f760e6965df9048.tar.bz2 linux-9cc742078c9a90cdd4cf131e9f760e6965df9048.zip |
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')
-rw-r--r-- | drivers/pci/pci.c | 1 |
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) { |