summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2021-09-12 23:26:06 +0200
committerArnd Bergmann <arnd@arndb.de>2021-10-08 15:39:33 +0200
commit2fbc349911e45d4ea5187b608c8d58db66496260 (patch)
treef7acc5d75697c954bcbeea6e116219109f2d2f81 /include
parentqcom_scm: hide Kconfig symbol (diff)
downloadlinux-2fbc349911e45d4ea5187b608c8d58db66496260.tar.xz
linux-2fbc349911e45d4ea5187b608c8d58db66496260.zip
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')
-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