diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2021-09-25 23:32:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-05 13:36:25 +0300 |
commit | 7c2584faa145991558412d135d9e1d3431f47c6d (patch) | |
tree | 49a09bae4460f6f1923d83de8a5f6011a4477bbc /arch/mips/pci/pci-generic.c | |
parent | ebe7e788ee7270cfe43584e99f11b00d1e4bbb3f (diff) | |
download | linux-7c2584faa145991558412d135d9e1d3431f47c6d.tar.xz |
PCI: Allow architecture-specific pci_remap_iospace()
pci_remap_iospace() was originally meant as an architecture specific helper
but it moved into generic code after all architectures had the same
requirements. MIPS has different requirements so it should not be shared.
The way for doing this will be using a macro 'pci_remap_iospace' defined
for those architectures that need a special treatment. Hence, put core API
function inside preprocesor conditional code for 'pci_remap_iospace'
definition.
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210925203224.10419-5-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/pci/pci-generic.c')
0 files changed, 0 insertions, 0 deletions