diff options
author | Jianjun Wang <jianjun.wang@mediatek.com> | 2021-04-20 14:17:18 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-18 13:40:10 +0200 |
commit | 9d6090575406e504d4143b171482b8e5591e85ef (patch) | |
tree | a2027dd51eeb4c6f1d54db327ccc7253b3645c4f | |
parent | fa3c15ccf2ea0dc108052403cb07ae386e8f5989 (diff) | |
download | kernel_replicant_linux-9d6090575406e504d4143b171482b8e5591e85ef.tar.gz kernel_replicant_linux-9d6090575406e504d4143b171482b8e5591e85ef.tar.bz2 kernel_replicant_linux-9d6090575406e504d4143b171482b8e5591e85ef.zip |
PCI: Export pci_pio_to_address() for module use
commit 9cc742078c9a90cdd4cf131e9f760e6965df9048 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 29f5d699fa06..05a84f095fe7 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -4043,6 +4043,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) { |