[PATCH] Fix compilation warning "discards qualifiers from pointer target type"

From: Rune V. SjÃen
Date: Fri Apr 25 2008 - 08:25:51 EST


Fix compilation warning "discards qualifiers from pointer target type"
in include/asm-x86/io_32.h

Signed-off-by: Rune V. Sjoen <rvsjoen@xxxxxxxxx>
---

--- clean/include/asm-x86/io_32.h 2008-04-17 04:49:44.000000000 +0200
+++ linux/include/asm-x86/io_32.h 2008-04-25 13:52:19.000000000 +0200
@@ -211,7 +211,7 @@ memset_io(volatile void __iomem *addr, u
}

static inline void
-memcpy_fromio(void *dst, const volatile void __iomem *src, int count)
+memcpy_fromio(void *dst, const void __iomem *src, int count)
{
__memcpy(dst, (const void __force *)src, count);
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/