Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment