synchronize i2c_msg structure in i2c and
PATCH 1/1 synchronize i2c_msg structure in i2c and
Without this, I2C_RDWR ioctl does not work correctly.
Index: kernel/include/i2c-dev.h
=================================RCS file: /home/cvs/lm_sensors2/kernel/include/i2c-dev.h,v retrieving revision 1.9
include/i2c-dev.h +0 -2
@@ -45,8 +45,6 @@#define I2C_M_NO_RD_ACK 0x0800short len;/* msg length */ char *buf;/* pointer to msg data */ -int err; -short done; };/* To determine what functionality is present */
----
Hideki IWAMOTO [email protected]
PATCH 1/1 synchronize i2c_msg structure in i2c and
Konbanwa Hideki,
Quoted 9 lines
Without this,
I2C_RDWRioctl does not work correctly.Index:
kernel/include/i2c-dev.h
=================================> RCS file:/home/cvs/lm_sensors2/kernel/include/i2c-dev.h,vretrieving revision 1.9
diff -u -r1.9i2c-dev.h
include/i2c-dev.h line 48
Quoted 6 lines
include/i2c-dev.h +0
-2@@ -45,8 +45,6 @@#define I2C_M_NO_RD_ACK 0x0800short len;/* msg length */ char *buf;/* pointer to msg data */ -int err; -short done; };
My bad. I dropped these members from i2c_msg in i2c.h a few months ago to solve compatibility problems between i2c CVS and Linux 2.4, but completely forgot to change i2c-dev.h in a similar way. Thanks for pointing this out, I've applied your patch.
Arigato,
Signature · 1 line
Jean Delvare