summaryrefslogtreecommitdiff
path: root/include/asm-generic/io.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2021-09-13 00:26:06 +0300
committerArnd Bergmann <arnd@arndb.de>2021-10-08 16:39:33 +0300
commit2fbc349911e45d4ea5187b608c8d58db66496260 (patch)
treef7acc5d75697c954bcbeea6e116219109f2d2f81 /include/asm-generic/io.h
parent424953cf3c6657f1e67e1a2c5d6e3bb518ea4e9a (diff)
downloadlinux-2fbc349911e45d4ea5187b608c8d58db66496260.tar.xz
asm-generic/io.h: give stub iounmap() on !MMU same prototype as elsewhere
It made -Werror sad. Signed-off-by: Adam Borowski <kilobyte@angband.pl> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/asm-generic/io.h')
-rw-r--r--include/asm-generic/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h
index e93375c710b9..dea1d36a6402 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