--- zzzz-none-000/linux-3.10.107/arch/mips/include/asm/mach-generic/ioremap.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/arch/mips/include/asm/mach-generic/ioremap.h 2021-11-10 11:53:53.000000000 +0000 @@ -15,18 +15,20 @@ * Allow physical addresses to be fixed up to help peripherals located * outside the low 32-bit range -- generic pass-through version. */ -static inline phys_t fixup_bigphys_addr(phys_t phys_addr, phys_t size) +static inline phys_t fixup_bigphys_addr(phys_t phys_addr, + phys_t size __maybe_unused) { return phys_addr; } -static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size, - unsigned long flags) +static inline void __iomem *plat_ioremap(phys_t offset __maybe_unused, + unsigned long size __maybe_unused, + unsigned long flags __maybe_unused) { return NULL; } -static inline int plat_iounmap(const volatile void __iomem *addr) +static inline int plat_iounmap(const volatile void __iomem *addr __maybe_unused) { return 0; }