mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
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>
This commit is contained in:
parent
8506eb8d6a
commit
e03492c875
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue