summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Fuchs <matthias.fuchs@esd-electronics.com>2008-10-04 19:26:16 +0200
committerWolfgang Denk <wd@denx.de>2008-10-14 22:49:57 +0200
commit12c6670f873ed632c264a6f3e8bf1297d5c3ddbc (patch)
tree1f210305548e6cca2a6f098e157413e7b51e99db
parent9bc2e4eee3bcb8e63847d7a733e0c607807d6141 (diff)
downloadblackbird-obmc-uboot-12c6670f873ed632c264a6f3e8bf1297d5c3ddbc.tar.gz
blackbird-obmc-uboot-12c6670f873ed632c264a6f3e8bf1297d5c3ddbc.zip
api: fix type mismatch
This patch fixes a type mismatch and thus removes a compiler warning when compiling with CONFIG_API on powerpc. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
-rw-r--r--api/api_platform-ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api_platform-ppc.c b/api/api_platform-ppc.c
index ca9f9a5cd1..611a01b5ec 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);
OpenPOWER on IntegriCloud