projects
/
platform
/
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:
8506eb8
)
board/samsung/universal_c210/universal.c: Fix build warning
author
Anatolij Gustschin
<agust@denx.de>
Mon, 19 Dec 2011 04:20:04 +0000
(
04:20
+0000)
committer
Wolfgang Denk
<wd@denx.de>
Tue, 20 Dec 2011 22:19:18 +0000
(23:19 +0100)
Fix:
universal.c: In function 's5pc210_phy_control':
universal.c:273:7: warning: 'ret' may be used uninitialized
in this function [-Wuninitialized]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Acked-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/universal_c210/universal.c
patch
|
blob
|
history
diff --git
a/board/samsung/universal_c210/universal.c
b/board/samsung/universal_c210/universal.c
index
8393e4f
..
d0ff834
100644
(file)
--- a/
board/samsung/universal_c210/universal.c
+++ b/
board/samsung/universal_c210/universal.c
@@
-260,7
+260,7
@@
int board_mmc_init(bd_t *bis)
#ifdef CONFIG_USB_GADGET
static int s5pc210_phy_control(int on)
{
- int ret;
+ int ret
= 0
;
struct pmic *p = get_pmic();
if (pmic_probe(p))