projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bc2e4e
)
api: fix type mismatch
author
Matthias Fuchs
<matthias.fuchs@esd-electronics.com>
Sat, 4 Oct 2008 17:26:16 +0000
(19:26 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Tue, 14 Oct 2008 20:49:57 +0000
(22:49 +0200)
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>
api/api_platform-ppc.c
patch
|
blob
|
history
diff --git
a/api/api_platform-ppc.c
b/api/api_platform-ppc.c
index
ca9f9a5
..
611a01b
100644
(file)
--- 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);