aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorMatthias Fuchs2008-10-04 12:26:16 -0500
committerWolfgang Denk2008-10-14 15:49:57 -0500
commit12c6670f873ed632c264a6f3e8bf1297d5c3ddbc (patch)
tree1f210305548e6cca2a6f098e157413e7b51e99db /api
parent9bc2e4eee3bcb8e63847d7a733e0c607807d6141 (diff)
downloadu-boot-12c6670f873ed632c264a6f3e8bf1297d5c3ddbc.tar.gz
u-boot-12c6670f873ed632c264a6f3e8bf1297d5c3ddbc.tar.xz
u-boot-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>
Diffstat (limited to 'api')
-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)
66 si->bar = gd->bd->bi_bar; 66 si->bar = gd->bd->bi_bar;
67#undef bi_bar 67#undef bi_bar
68#else 68#else
69 si->bar = NULL; 69 si->bar = 0;
70#endif 70#endif
71 71
72 platform_set_mr(si, gd->bd->bi_memstart, gd->bd->bi_memsize, MR_ATTR_DRAM); 72 platform_set_mr(si, gd->bd->bi_memstart, gd->bd->bi_memsize, MR_ATTR_DRAM);