From: Adam Borowski Date: Sun, 12 Sep 2021 21:26:06 +0000 (+0200) Subject: asm-generic/io.h: give stub iounmap() on !MMU same prototype as elsewhere X-Git-Tag: accepted/tizen/unified/20230118.172025~6213^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2fbc349911e45d4ea5187b608c8d58db66496260;p=platform%2Fkernel%2Flinux-rpi.git asm-generic/io.h: give stub iounmap() on !MMU same prototype as elsewhere It made -Werror sad. Signed-off-by: Adam Borowski Signed-off-by: Arnd Bergmann --- diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h index e93375c..dea1d36 100644 --- a/include/asm-generic/io.h +++ b/include/asm-generic/io.h @@ -957,7 +957,7 @@ static inline void __iomem *ioremap(phys_addr_t offset, size_t size) #ifndef iounmap #define iounmap iounmap -static inline void iounmap(void __iomem *addr) +static inline void iounmap(volatile void __iomem *addr) { } #endif