Commit 5e591a55 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[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: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a73df4df
...@@ -116,7 +116,7 @@ static inline void memset_io(volatile void __iomem *addr, unsigned char val, int ...@@ -116,7 +116,7 @@ static inline void memset_io(volatile void __iomem *addr, unsigned char val, int
memset((void __force *) addr, val, count); 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); memcpy(dst, (void __force *) src, count);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment