aboutsummaryrefslogtreecommitdiff
path: root/include/asm-parisc
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2006-09-19 16:37:01 -0600
committerMatthew Wilcox <willy@parisc-linux.org>2006-10-04 06:50:26 -0600
commit01232e932988fcf6ad87be49f69e633dd652a46d (patch)
treefa940c1970082cec27776dbfd6be53dba3ddc6f0 /include/asm-parisc
parent08a6436816f7a16113c73be767ee8d50440e494e (diff)
[PARISC] Fix iounmap compile warning
iounmap's argument needs to be both const and volatile, otherwise we'll get warnings that we're discarding pointer qualifiers Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include/asm-parisc')
-rw-r--r--include/asm-parisc/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-parisc/io.h b/include/asm-parisc/io.h
index b9eb245b887..c1963ce19dd 100644
--- a/include/asm-parisc/io.h
+++ b/include/asm-parisc/io.h
@@ -134,7 +134,7 @@ extern inline void __iomem * ioremap(unsigned long offset, unsigned long size)
}
#define ioremap_nocache(off, sz) ioremap((off), (sz))
-extern void iounmap(void __iomem *addr);
+extern void iounmap(const volatile void __iomem *addr);
static inline unsigned char __raw_readb(const volatile void __iomem *addr)
{