projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa3c15c
)
PCI: Export pci_pio_to_address() for module use
author
Jianjun Wang
<jianjun.wang@mediatek.com>
Tue, 20 Apr 2021 06:17:18 +0000
(14:17 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:40:10 +0000
(13:40 +0200)
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>
drivers/pci/pci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/pci.c
b/drivers/pci/pci.c
index 29f5d699fa06dd2a75f53dd10ee8b3ca7a34ecbc..05a84f095fe70c7968b6e0a6f907324a07c5d27a 100644
(file)
--- 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)
{