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>
This commit is contained in:
parent
1fd92928ba
commit
bf6681ea53
@ -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 */
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user