diff options
Diffstat (limited to 'board/Marvell/common/i2c.c')
-rw-r--r-- | board/Marvell/common/i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/Marvell/common/i2c.c b/board/Marvell/common/i2c.c index 624ee5c..32b2b30 100644 --- a/board/Marvell/common/i2c.c +++ b/board/Marvell/common/i2c.c @@ -168,7 +168,7 @@ static uchar i2c_select_device (uchar dev_addr, uchar read, int ten_bit) static uchar i2c_get_data (uchar * return_data, int len) { - unsigned int data, status; + unsigned int data, status = 0; int count = 0; DP (puts ("i2c_get_data\n")); |