From: Mark Salter Date: Tue, 4 Oct 2011 13:25:56 +0000 (-0400) Subject: add missing __iomem to generic iounmap declaration X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e66d3c490c7a45daa49c1ae9cc5fe0687d14b823;p=linux-beck.git add missing __iomem to generic iounmap declaration Signed-off-by: Mark Salter Acked-by: Arnd Bergmann --- diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h index 912088773a69..c2cf2eda0626 100644 --- a/include/asm-generic/io.h +++ b/include/asm-generic/io.h @@ -327,7 +327,7 @@ static inline void __iomem *ioremap(phys_addr_t offset, unsigned long size) #define ioremap_wc ioremap_nocache #endif -static inline void iounmap(void *addr) +static inline void iounmap(void __iomem *addr) { } #endif /* CONFIG_MMU */