[PATCH] synchronize i2c_msg structure in i2c and lm_sensors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Konbanwa Hideki,

> 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
> diff -u -r1.9 i2c-dev.h
> --- kernel/include/i2c-dev.h	26 Sep 2005 17:35:48 -0000	1.9
> +++ kernel/include/i2c-dev.h	27 Sep 2005 17:45:03 -0000
> @@ -45,8 +45,6 @@
>  #define I2C_M_NO_RD_ACK		0x0800
>  	short 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,
-- 
Jean Delvare




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux