aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManikanta Maddireddy <mmaddireddy@nvidia.com>2018-01-11 01:08:02 -0500
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2018-01-15 11:45:55 -0500
commitbf6681ea53353864bf23a24c82a5c7ac4d7a4e19 (patch)
treee423bea7bec04e52969cf347c7cf91425b2fc5aa
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>
-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:
361 res->end = (resource_size_t)OF_BAD_ADDR; 361 res->end = (resource_size_t)OF_BAD_ADDR;
362 return err; 362 return err;
363} 363}
364EXPORT_SYMBOL(of_pci_range_to_resource);
364#endif /* CONFIG_PCI */ 365#endif /* CONFIG_PCI */
365 366
366/* 367/*