[PATCH 2.6.27-rc5] Fix compilation warning "discards qualifiers from pointer target type" in io_32.h
From: Rune V. SjÃen
Date: Sat Sep 06 2008 - 20:18:45 EST
Fixes compilation warning "discards qualifiers from pointer target
type" in io_32.h
Signed-off-by: Rune V. SjÃen <rvsjoen@xxxxxxxxx>
---
--- a/include/asm-x86/io_32.h
+++ b/include/asm-x86/io_32.h
@@ -152,7 +152,7 @@ memcpy_fromio(void *dst, const void __iomem *src, int count)
}
static inline void
-memcpy_toio(volatile void __iomem *dst, const void *src, int count)
+memcpy_toio(void __iomem *dst, const void *src, int count)
{
__memcpy((void __force *)dst, src, count);
}
--
Rune V. SjÃen
You always pass failure on the way to success
¢éì®&Þ~º&¶¬+-±éÝ¥w®Ë±Êâmébìdz¹Þ)í
æèw*jg¬±¨¶Ýj/êäz¹Þà2Þ¨èÚ&¢)ß«a¶Úþø®G«éh®æj:+v¨wèÙ>W±êÞiÛaxPjØm¶ÿÃ-»+ùd_