]> git.sur5r.net Git - u-boot/commit
i2c: fti2c010: fix compiler warning on paddr[]
authorKuo-Jung Su <dantesu@faraday-tech.com>
Mon, 30 Dec 2013 09:20:57 +0000 (17:20 +0800)
committerHeiko Schocher <hs@denx.de>
Mon, 13 Jan 2014 07:18:38 +0000 (08:18 +0100)
commitdccacbe01968f9e682cb1dc9b7d43c831897cbec
treef46847b96745ec148668c00e26098d4bdeca4a82
parent32d041e218c6a22e92d91629902fd03a90934b6a
i2c: fti2c010: fix compiler warning on paddr[]

This fixes the following compiler warnings:

fti2c010.c: In function 'fti2c010_read':
fti2c010.c:204:8: warning: 'paddr' may be used uninitialized in this function [-Wuninitialized]
fti2c010.c: In function 'fti2c010_write':
fti2c010.c:266:8: warning: 'paddr' may be used uninitialized in this function [-Wuninitialized]

Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com>
Cc: Heiko Schocher <hs@denx.de>
drivers/i2c/fti2c010.c