diff options
author | Matthew Wilcox <matthew@wil.cx> | 2006-09-20 00:37:01 +0200 |
---|---|---|
committer | Matthew Wilcox <willy@parisc-linux.org> | 2006-10-04 14:50:26 +0200 |
commit | 01232e932988fcf6ad87be49f69e633dd652a46d (patch) | |
tree | fa940c1970082cec27776dbfd6be53dba3ddc6f0 /include/asm-parisc/io.h | |
parent | [PARISC] Add support for Quicksilver AGPGART (diff) | |
download | linux-01232e932988fcf6ad87be49f69e633dd652a46d.tar.xz linux-01232e932988fcf6ad87be49f69e633dd652a46d.zip |
[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/io.h')
-rw-r--r-- | include/asm-parisc/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-parisc/io.h b/include/asm-parisc/io.h index b9eb245b8874..c1963ce19dd2 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) { |