diff options
author | Priyanka Singh <priyanka.singh@nxp.com> | 2020-10-16 14:45:44 +0530 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2020-10-23 16:52:09 +0530 |
commit | f3555bd2854c8bda719e48e8013064ac578b5642 (patch) | |
tree | 006a2f93c13a2e2425ea271cb3420a49b8f2596e /board/freescale/common | |
parent | 66d00ebdeaa967b56438ac3c7352a377174742d6 (diff) | |
download | u-boot-f3555bd2854c8bda719e48e8013064ac578b5642.tar.gz u-boot-f3555bd2854c8bda719e48e8013064ac578b5642.tar.xz u-boot-f3555bd2854c8bda719e48e8013064ac578b5642.zip |
board: freescale: vid.c: Initialize variable 'i2caddress'
Initialize variable 'i2caddress' in print_vdd() to zero
Signed-off-by: Priyanka Singh <priyanka.singh@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'board/freescale/common')
-rw-r--r-- | board/freescale/common/vid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/common/vid.c b/board/freescale/common/vid.c index 20c97aa1ef..bf8a5d893f 100644 --- a/board/freescale/common/vid.c +++ b/board/freescale/common/vid.c @@ -892,7 +892,7 @@ exit: static int print_vdd(void) { - int vdd_last, ret, i2caddress; + int vdd_last, ret, i2caddress = 0; ret = i2c_multiplexer_select_vid_channel(I2C_MUX_CH_VOL_MONITOR); if (ret) { |