[i2c] [patch 2.6.23-rc9] move i2c-dev interfaces to i2c-dev.h

Jean Delvare khali at linux-fr.org
Thu Oct 4 10:42:46 CEST 2007


On Wed, 03 Oct 2007 19:23:48 -0700, David Brownell wrote:
> Move the i2c-dev support into <linux/i2c-dev.h> where it should always
> have lived.  Now <linux/i2c.h> no longer holds stuff related to the
> optional userspace /dev/i2c-X interface.  Improve the descriptions
> for these ioctl requests
> 
> Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
> ---
> Note that this depends on the previous patch which moved the logic
> for I2C_{RETRIES,TIMEOUT} into i2c-dev.c ...
> 
>  include/linux/i2c-dev.h |   31 +++++++++++++++++++++++++++++--
>  include/linux/i2c.h     |   30 ------------------------------
>  2 files changed, 29 insertions(+), 32 deletions(-)

Nice cleanup, applied, thanks.

-- 
Jean Delvare



More information about the i2c mailing list