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:
parent
fc9a3d1b29
commit
f6cb837721
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user