Skip to content
Snippets Groups Projects
Commit 12c6670f authored by Matthias Fuchs's avatar Matthias Fuchs Committed by Wolfgang Denk
Browse files

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: default avatarMatthias Fuchs <matthias.fuchs@esd-electronics.com>
parent 9bc2e4ee
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ int platform_sys_info(struct sys_info *si) ...@@ -66,7 +66,7 @@ int platform_sys_info(struct sys_info *si)
si->bar = gd->bd->bi_bar; si->bar = gd->bd->bi_bar;
#undef bi_bar #undef bi_bar
#else #else
si->bar = NULL; si->bar = 0;
#endif #endif
platform_set_mr(si, gd->bd->bi_memstart, gd->bd->bi_memsize, MR_ATTR_DRAM); platform_set_mr(si, gd->bd->bi_memstart, gd->bd->bi_memsize, MR_ATTR_DRAM);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment