[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201202131255.6541-1-jianjun.wang@mediatek.com>
Date: Wed, 2 Dec 2020 21:12:55 +0800
From: Jianjun Wang <jianjun.wang@...iatek.com>
To: Bjorn Helgaas <bhelgaas@...gle.com>,
Matthias Brugger <matthias.bgg@...il.com>
CC: <linux-pci@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>, <youlin.pei@...iatek.com>,
Sj Huang <sj.huang@...iatek.com>, <jianjun.wang@...iatek.com>
Subject: [v1] 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.
Signed-off-by: Jianjun Wang <jianjun.wang@...iatek.com>
---
drivers/pci/pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index a458c46d7e39..509008899182 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -4003,6 +4003,7 @@ phys_addr_t pci_pio_to_address(unsigned long pio)
return address;
}
+EXPORT_SYMBOL(pci_pio_to_address);
unsigned long __weak pci_address_to_pio(phys_addr_t address)
{
--
2.25.1
Powered by blists - more mailing lists