Skip to contentSkip to conversation

ARMV7: OMAP: I2C driver: fix compiler warning

PATCH New Heiko Schocher 1 participant 1 message Oct 20, 2010 I2C

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARMV7: OMAP: I2C driver: fix compiler warning

---
 drivers/i2c/omap24xx_i2c.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/i2c/omap24xx_i2c.c +1 -1
index eb153fb..a72d1a1 100644
@@ -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