diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-06-23 02:04:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 07:42:55 -0700 |
commit | 5e591a55576b60156ac3dbc5087660ed82646d66 (patch) | |
tree | 65f4323f7eab9b1c8fbf66c960071a87d10e39ad /include/asm-frv | |
parent | a73df4dfdb0e01a1cbf119416a00e520a5e22306 (diff) | |
download | kernel-crypto-5e591a55576b60156ac3dbc5087660ed82646d66.tar.gz kernel-crypto-5e591a55576b60156ac3dbc5087660ed82646d66.tar.xz kernel-crypto-5e591a55576b60156ac3dbc5087660ed82646d66.zip |
[PATCH] frv: Add missing qualifier to memcpy_fromio() prototype
The memcpy_fromio() function should have a const qualifier on its source
pointer.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-frv')
-rw-r--r-- | include/asm-frv/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-frv/io.h b/include/asm-frv/io.h index f49398a8297..7765f552889 100644 --- a/include/asm-frv/io.h +++ b/include/asm-frv/io.h @@ -116,7 +116,7 @@ static inline void memset_io(volatile void __iomem *addr, unsigned char val, int memset((void __force *) addr, val, count); } -static inline void memcpy_fromio(void *dst, volatile void __iomem *src, int count) +static inline void memcpy_fromio(void *dst, const volatile void __iomem *src, int count) { memcpy(dst, (void __force *) src, count); } |