summaryrefslogtreecommitdiff
path: root/drivers/of/address.c
diff options
context:
space:
mode:
authorManikanta Maddireddy <mmaddireddy@nvidia.com>2018-01-11 11:38:02 +0530
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2018-01-15 16:45:55 +0000
commitbf6681ea53353864bf23a24c82a5c7ac4d7a4e19 (patch)
treee423bea7bec04e52969cf347c7cf91425b2fc5aa /drivers/of/address.c
parent1fd92928bab518e762c81ce0d1427ce6ddd3ab22 (diff)
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 <mmaddireddy@nvidia.com> [lorenzo.pieralisi@arm.com: rewrote commit log] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/address.c')
-rw-r--r--drivers/of/address.c1
1 files changed, 1 insertions, 0 deletions
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 */
/*