PCI: Export pci_pio_to_address() for module use
Subsystems (2)
PATCH 1/1 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.
--- drivers/pci/pci.c | 1 + 1 file changed, 1 insertion(+)
drivers/pci/pci.c +1 -0
@@ -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) {
Signature · 1 line
2.25.1
Quoted 4 lines · Jianjun Wang
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 <[email protected]>
Please include this in a series that adds a modular host driver or converts an existing one to be modular. That way we know we have at least one user and things get merged in the right order.
Quoted 19 lines
--- drivers/pci/pci.c | 1 + 1 file changed, 1 insertion(+)drivers/pci/pci.c +1
-0@@ -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) {Signature · 1 line
2.25.1
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Quoted 9 lines · Bjorn Helgaas
Quoted 4 lines · Jianjun Wang
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 <[email protected]>Please include this in a series that adds a modular host driver or converts an existing one to be modular. That way we know we have at least one user and things get merged in the right order.
Hi Bjorn,
OK, I will include this patch in the next version of pcie-mediatek-gen3 series.
thanks.
Quoted 15 lines
Quoted 15 lines
--- drivers/pci/pci.c | 1 + 1 file changed, 1 insertion(+)drivers/pci/pci.c +1
-0@@ -4003,6 +4003,7 @@ phys_addr_t pci_pio_to_address(unsigned long pio)return address; } +EXPORT_SYMBOL (pci_pio_to_address);
Quoted 5 lines
Quoted 5 lines
drivers/pci/pci.c +0
-0unsigned long __weak pci_address_to_pio (phys_addr_t address) {Signature · 1 line
2.25.1
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek