summaryrefslogtreecommitdiff
path: root/board/evb64260/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/evb64260/i2c.c')
-rw-r--r--board/evb64260/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/evb64260/i2c.c b/board/evb64260/i2c.c
index 22cb8096c83..c62b64729c1 100644
--- a/board/evb64260/i2c.c
+++ b/board/evb64260/i2c.c
@@ -146,7 +146,7 @@ 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"));