diff options
author | Liviu Dudau <[email protected]> | 2014-09-29 15:29:24 +0100 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2014-09-30 13:29:09 -0600 |
commit | 83bbde1cc0ec9d156b9271e29ffe0dc89c687feb (patch) | |
tree | 379436a87c6b9188434ed5ab87d5d9b6c30ba684 /net/lapb/lapb_subr.c | |
parent | dad13e3c08e7005854271e562eda4ffa5c71bc38 (diff) |
of/pci: Move of_pci_range_to_resource() to of/address.c
We need to enhance of_pci_range_to_resources() enough that it won't make
sense for it to be inline anymore. Move it to drivers/of/address.c, under
#ifdef CONFIG_PCI.
of_address.h previously implemented of_pci_range_to_resources()
unconditionally, regardless of any config options. The implementation in
address.c is defined only when CONFIG_OF_ADDRESS=y and CONFIG_PCI=y,
so add a dummy version to avoid build errors when CONFIG_OF or
CONFIG_OF_ADDRESS is not defined.
[bhelgaas: drop extra detail from changelog, move def under CONFIG_PCI,
add dummy of_pci_range_to_resource() for build errors (from Arnd)]
Signed-off-by: Liviu Dudau <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
CC: Grant Likely <[email protected]>
CC: Rob Herring <[email protected]>
CC: Arnd Bergmann <[email protected]>
CC: Catalin Marinas <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions