summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2011-10-04 15:25:56 +0200
committerMark Salter <msalter@redhat.com>2011-10-07 01:47:22 +0200
commite66d3c490c7a45daa49c1ae9cc5fe0687d14b823 (patch)
treeb366ce9fb4d651919a355c04b5b931480fec371e /include/asm-generic
parentadd ELF machine define for TI C6X DSPs (diff)
downloadlinux-e66d3c490c7a45daa49c1ae9cc5fe0687d14b823.tar.xz
linux-e66d3c490c7a45daa49c1ae9cc5fe0687d14b823.zip
add missing __iomem to generic iounmap declaration
Signed-off-by: Mark Salter <msalter@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/asm-generic')
-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 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 */