Commit fd40ade2edeaffec1e7c91ea09e564f4d4f037dd
Committed by
Priyanka Jain
1 parent
724ba6f448
Exists in
smarc_8mq_lf_v2020.04
and in
4 other branches
board: freescale: vid.c: Initialize variable 'i2caddress'
Initialize variable 'i2caddress' in adjust_vdd() to zero Signed-off-by: Priyanka Singh <priyanka.singh@nxp.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
board/freescale/common/vid.c
... | ... | @@ -483,7 +483,7 @@ |
483 | 483 | u8 vid; |
484 | 484 | #endif |
485 | 485 | int vdd_target, vdd_current, vdd_last; |
486 | - int ret, i2caddress; | |
486 | + int ret, i2caddress = 0; | |
487 | 487 | unsigned long vdd_string_override; |
488 | 488 | char *vdd_string; |
489 | 489 | #if defined(CONFIG_ARCH_LX2160A) || defined(CONFIG_ARCH_LX2162A) |