diff mbox series

[v6,2/4] PCI: Export pci_pio_to_address() for module use

Message ID 20201225100308.27052-3-jianjun.wang@mediatek.com (mailing list archive)
State New, archived
Headers show
Series PCI: mediatek: Add new generation controller support | expand

Commit Message

Jianjun Wang Dec. 25, 2020, 10:03 a.m. UTC
This interface will be used by PCI host drivers for PIO translation,
export it to support compiling those drivers as kernel modules.

Signed-off-by: Jianjun Wang <jianjun.wang@mediatek.com>
 drivers/pci/pci.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series


diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 6d4d5a2f923d..3de714db2557 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -4016,6 +4016,7 @@  phys_addr_t pci_pio_to_address(unsigned long pio)
 	return address;
 unsigned long __weak pci_address_to_pio(phys_addr_t address)