Thread (2 messages) flat view 2 messages, 1 author, 2012-10-07
DORMANTno replies

[PATCH] arm: vt8500: Fix build warning in uncompress.h [for 3.7]

From: Tony Prisk <hidden>
Date: 2012-10-07 20:44:49

On Mon, 2012-10-08 at 09:08 +1300, Tony Prisk wrote:
quoted hunk ↗ jump to hunk
This removes a build-time warning in uncompress.h due to incorrectly
cast values being passed to readb/writeb.

Signed-off-by: Tony Prisk <redacted>
---
 arch/arm/mach-vt8500/include/mach/uncompress.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-vt8500/include/mach/uncompress.h b/arch/arm/mach-vt8500/include/mach/uncompress.h
index bb9e2d2..1344d9f 100644
--- a/arch/arm/mach-vt8500/include/mach/uncompress.h
+++ b/arch/arm/mach-vt8500/include/mach/uncompress.h
@@ -15,7 +15,7 @@
  *
  */
 
-#define UART0_PHYS 0xd8200000
+#define UART0_PHYS	(void *)0xd8200000
 #include <asm/io.h>
 
 static void putc(const char c)
Please ignore this patch - I will correct as per Russell's advice.

Regards
Tony P
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help