aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/i2c.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 3d49a305bf88..17d63c1efdce 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -454,8 +454,7 @@ struct i2c_msg {
454union i2c_smbus_data { 454union i2c_smbus_data {
455 __u8 byte; 455 __u8 byte;
456 __u16 word; 456 __u16 word;
457 __u8 block[I2C_SMBUS_BLOCK_MAX + 3]; /* block[0] is used for length */ 457 __u8 block[I2C_SMBUS_BLOCK_MAX + 2]; /* block[0] is used for length */
458 /* one more for read length in block process call */
459 /* and one more for PEC */ 458 /* and one more for PEC */
460}; 459};
461 460