summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/io.h
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2011-10-04 09:25:56 -0400
committerMark Salter <msalter@redhat.com>2011-10-06 19:47:22 -0400
commite66d3c490c7a45daa49c1ae9cc5fe0687d14b823 (patch)
treeb366ce9fb4d651919a355c04b5b931480fec371e /include/asm-generic/io.h
parent854a68521badc48460c9cbcdf37b220865836ac3 (diff)
downloadop-kernel-dev-e66d3c490c7a45daa49c1ae9cc5fe0687d14b823.zip
op-kernel-dev-e66d3c490c7a45daa49c1ae9cc5fe0687d14b823.tar.gz
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/io.h')
-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 9120887..c2cf2ed 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 */
OpenPOWER on IntegriCloud