public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] api: fix type mismatch
@ 2008-10-04 17:26 Matthias Fuchs
  2008-10-14 20:50 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Fuchs @ 2008-10-04 17:26 UTC (permalink / raw)
  To: u-boot

This patch fixes a type mismatch and though removes a compiler
warning when compiling with CONFIG_API on powerpc.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
---
 api/api_platform-ppc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/api/api_platform-ppc.c b/api/api_platform-ppc.c
index ca9f9a5..611a01b 100644
--- a/api/api_platform-ppc.c
+++ b/api/api_platform-ppc.c
@@ -66,7 +66,7 @@ int platform_sys_info(struct sys_info *si)
 	si->bar = gd->bd->bi_bar;
 #undef bi_bar
 #else
-	si->bar = NULL;
+	si->bar = 0;
 #endif
 
 	platform_set_mr(si, gd->bd->bi_memstart, gd->bd->bi_memsize, MR_ATTR_DRAM);
-- 
1.5.3

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

end of thread, other threads:[~2008-10-14 20:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-04 17:26 [U-Boot] [PATCH] api: fix type mismatch Matthias Fuchs
2008-10-14 20:50 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox