[U-Boot] [PATCH] api: fix type mismatch

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);

Dear Matthias Fuchs,
In message 200810041926.16940.matthias.fuchs@esd-electronics.com you wrote:
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(-)
Applied, after s/though/thus/ - hope this was OK. Thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Matthias Fuchs
-
Wolfgang Denk