提交 9cc74207 编写于 作者: J Jianjun Wang 提交者: Lorenzo Pieralisi

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.comSigned-off-by: NJianjun Wang <jianjun.wang@mediatek.com>
Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: NBjorn Helgaas <bhelgaas@google.com>
上级 07ca255e
...@@ -4052,6 +4052,7 @@ phys_addr_t pci_pio_to_address(unsigned long pio) ...@@ -4052,6 +4052,7 @@ phys_addr_t pci_pio_to_address(unsigned long pio)
return address; return address;
} }
EXPORT_SYMBOL_GPL(pci_pio_to_address);
unsigned long __weak pci_address_to_pio(phys_addr_t address) unsigned long __weak pci_address_to_pio(phys_addr_t address)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册