--- zzzz-none-000/linux-2.6.39.4/include/linux/i2c-dev.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/include/linux/i2c-dev.h 2021-11-10 13:23:10.000000000 +0000 @@ -50,6 +50,10 @@ #define I2C_PEC 0x0708 /* != 0 to use PEC with SMBus */ #define I2C_SMBUS 0x0720 /* SMBus transfer */ +#ifdef CONFIG_GEN3_I2C +#define I2C_SET_MODE 0x0780 +#endif + /* This is the structure as used in the I2C_SMBUS ioctl call */ struct i2c_smbus_ioctl_data {