summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2011-12-19 04:20:04 +0000
committerWolfgang Denk <wd@denx.de>2011-12-20 23:19:18 +0100
commite03492c875b7660fd2a72e640fe4b65b75803d15 (patch)
tree4dc530e3662a342077b1b674c6582bb7c49cf9ab /board
parent8506eb8d6abefa6d91468a8c350b60ce3321a53e (diff)
downloadu-boot-imx-e03492c875b7660fd2a72e640fe4b65b75803d15.zip
u-boot-imx-e03492c875b7660fd2a72e640fe4b65b75803d15.tar.gz
u-boot-imx-e03492c875b7660fd2a72e640fe4b65b75803d15.tar.bz2
board/samsung/universal_c210/universal.c: Fix build warning
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>
Diffstat (limited to 'board')
-rw-r--r--board/samsung/universal_c210/universal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c
index 8393e4f..d0ff834 100644
--- 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))