linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: vt8500: Fix build warning in uncompress.h [for 3.7]
@ 2012-10-07 20:08 Tony Prisk
  2012-10-07 20:44 ` Tony Prisk
  0 siblings, 1 reply; 2+ messages in thread
From: Tony Prisk @ 2012-10-07 20:08 UTC (permalink / raw)
  To: linux-arm-kernel

This removes a build-time warning in uncompress.h due to incorrectly
cast values being passed to readb/writeb.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
---
 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)
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-07 20:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-07 20:08 [PATCH] arm: vt8500: Fix build warning in uncompress.h [for 3.7] Tony Prisk
2012-10-07 20:44 ` Tony Prisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).