From bf6681ea53353864bf23a24c82a5c7ac4d7a4e19 Mon Sep 17 00:00:00 2001 From: Manikanta Maddireddy Date: Thu, 11 Jan 2018 11:38:02 +0530 Subject: of: Export of_pci_range_to_resource() Some PCIe host drivers parse of_pci_range from device tree and convert it to resources. Export of_pci_range_to_resource() to allow PCIe host drivers to be compiled as loadable kernel module. Signed-off-by: Manikanta Maddireddy [lorenzo.pieralisi@arm.com: rewrote commit log] Signed-off-by: Lorenzo Pieralisi Acked-by: Rob Herring --- drivers/of/address.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/of/address.c') diff --git a/drivers/of/address.c b/drivers/of/address.c index fa6cabfc3cb9..8d9b93f8701a 100644 --- a/drivers/of/address.c +++ b/drivers/of/address.c @@ -361,6 +361,7 @@ invalid_range: res->end = (resource_size_t)OF_BAD_ADDR; return err; } +EXPORT_SYMBOL(of_pci_range_to_resource); #endif /* CONFIG_PCI */ /* -- cgit v1.2.3