Skip to content

Commit

Permalink
PCI: Export pci_pio_to_address() for module use
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jianjun Wang authored and Lorenzo Pieralisi committed Apr 20, 2021
1 parent 07ca255 commit 9cc7420
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 9cc7420

Please sign in to comment.