--- linux-2.6.9-rc1/include/linux/i2c.h 2004-08-29 17:31:47.000000000 +0100
+++ linux-2.6.9-rc1.adqpatch/include/linux/i2c.h 2004-09-16 12:37:42.341385984 +0100
@@ -230,6 +230,12 @@
unsigned int class;
struct i2c_algorithm *algo;/* the algorithm to access the bus */
void *algo_data;
+ unsigned int flags;
+
+ /* a ioctl like command that can be used to perform specific functions
+ * with the adapter.
+ */
+ int (*command)(struct i2c_client *client,unsigned int cmd, void *arg);
Shouldn't the first argument be a struct i2c_adapter * instead?