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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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