ARMV7: OMAP: I2C driver: fix compiler warning
PATCH 1/1 ARMV7: OMAP: I2C driver: fix compiler warning
Signed-off-by Heiko Schocher <[email protected]>
--- drivers/i2c/omap24xx_i2c.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/i2c/omap24xx_i2c.c +1 -1
@@ -218,7 +218,7 @@ read_exit:static int i2c_write_byte (u8 devaddr,u8 regoffset,u8 value) {int i2c_error =0 ; -u16 status, stat; +u16 status;/* wait until bus not busy */ wait_for_bb ();
bye,
Heiko
Signature · 2 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany