X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=drivers%2Fi2c%2Fi2c-slave-eeprom.c;h=5c7ae421cacf83da9111f74fff430b435a8d4fa9;hb=e764a1e32337aaf325fc5b14a5bbd06eabba4699;hp=593f2fd39d17ddeb79967bac96a8f13cbe8b90a4;hpb=96144c58abe7ff767e754b5b80995f7b8846d49b;p=linux-2.6-microblaze.git diff --git a/drivers/i2c/i2c-slave-eeprom.c b/drivers/i2c/i2c-slave-eeprom.c index 593f2fd39d17..5c7ae421cacf 100644 --- a/drivers/i2c/i2c-slave-eeprom.c +++ b/drivers/i2c/i2c-slave-eeprom.c @@ -66,7 +66,7 @@ static int i2c_slave_eeprom_slave_cb(struct i2c_client *client, case I2C_SLAVE_READ_PROCESSED: /* The previous byte made it to the bus, get next one */ eeprom->buffer_idx++; - /* fallthrough */ + fallthrough; case I2C_SLAVE_READ_REQUESTED: spin_lock(&eeprom->buffer_lock); *val = eeprom->buffer[eeprom->buffer_idx & eeprom->address_mask];