From: David S. Miller <davem@sunset.davemloft.net>
Date: Mon, 17 Apr 2006 20:34:44 +0000 (-0700)
Subject: [SPARC64]: Export pcibios_resource_to_bus().
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5fdfd42e3a69e8a686fcfb6381616464945471e8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git

[SPARC64]: Export pcibios_resource_to_bus().

SYM2 driver uses it.

Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c
index dfccff29e182..f97ddeb105ac 100644
--- a/arch/sparc64/kernel/pci.c
+++ b/arch/sparc64/kernel/pci.c
@@ -419,6 +419,7 @@ void pcibios_resource_to_bus(struct pci_dev *pdev, struct pci_bus_region *region
 	region->start = res->start - zero_res.start;
 	region->end = res->end - zero_res.start;
 }
+EXPORT_SYMBOL(pcibios_resource_to_bus);
 
 void pcibios_bus_to_resource(struct pci_dev *pdev, struct resource *res,
 			     struct pci_bus_region *region)