Skip to content

Commit

Permalink
api: fix type mismatch
Browse files Browse the repository at this point in the history
This patch fixes a type mismatch and thus removes a compiler
warning when compiling with CONFIG_API on powerpc.

Signed-off-by: Matthias Fuchs <[email protected]>
  • Loading branch information
Matthias Fuchs authored and wdenx committed Oct 14, 2008
1 parent 9bc2e4e commit 12c6670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/api_platform-ppc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 12c6670

Please sign in to comment.