Messages in this thread Patch in this message | | | From | David Howells <> | Subject | [PATCH 13/15] frv: Add missing qualifier to memcpy_fromio() prototype | Date | Mon, 19 Jun 2006 13:25:12 +0100 |
| |
From: Al Viro <viro@zeniv.linux.org.uk>
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> ---
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 0c18453..58c8f5b 100644 --- a/include/asm-frv/io.h +++ b/include/asm-frv/io.h @@ -117,7 +117,7 @@ static inline void memset_io(volatile vo 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); } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |