On Fri, Sep 24, 2021 at 11:11 PM Sergio Paracuellos <sergio.paracuellos@xxxxxxxxx> wrote: > > 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 treatement. Hence, put core api function inside preprocesor > conditional code for 'pci_remap_iospace' definition. > > Signed-off-by: Sergio Paracuellos <sergio.paracuellos@xxxxxxxxx> Acked-by: Arnd Bergmann <arnd@xxxxxxxx>