diff options
author | Jiaxun Yang <[email protected]> | 2020-07-30 08:56:14 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <[email protected]> | 2020-07-31 17:30:52 +0200 |
commit | 0fc0ead3488836503573286bcaa56f9743ea2bcc (patch) | |
tree | 8840ff09df39e4474039c84c85c038fe1e4fcb86 /lib/mpi | |
parent | 18641fd9fa5f540007fdf792cd74c3997694872e (diff) |
of_address: Guard of_bus_pci_get_flags with CONFIG_PCI
After 2f96593ecc37 ("of_address: Add bus type match for pci ranges parser"),
the last user of of_bus_pci_get_flags when CONFIG_PCI is disabled had gone.
This caused unused function warning when compiling without CONFIG_PCI.
Fix by guarding it with CONFIG_PCI.
Signed-off-by: Jiaxun Yang <[email protected]>
Reported-by: Stephen Rothwell <[email protected]>
Fixes: 2f96593ecc37 ("of_address: Add bus type match for pci ranges parser")
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions