Commit 2fbc3499 authored by Adam Borowski's avatar Adam Borowski Committed by Arnd Bergmann

asm-generic/io.h: give stub iounmap() on !MMU same prototype as elsewhere

It made -Werror sad.
Signed-off-by: default avatarAdam Borowski <kilobyte@angband.pl>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 424953cf
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment