board: freescale: vid.c: Initialize variable 'i2caddress'

Initialize variable 'i2caddress' in adjust_vdd() to zero

Signed-off-by: Priyanka Singh <priyanka.singh@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
Priyanka Singh 2020-10-27 15:50:14 +05:30 committed by Priyanka Jain
parent fc9a3d1b29
commit f6cb837721

View File

@ -485,7 +485,7 @@ int adjust_vdd(ulong vdd_override)
u8 vid;
#endif
int vdd_target, vdd_current, vdd_last;
int ret, i2caddress;
int ret, i2caddress = 0;
unsigned long vdd_string_override;
char *vdd_string;
#if defined(CONFIG_ARCH_LX2160A) || defined(CONFIG_ARCH_LX2162A)