From: Jean Delvare Date: Sat, 3 Sep 2005 08:52:11 +0000 (+0200) Subject: [PATCH] I2C: Drop the I2C_ACK_TEST ioctl X-Git-Tag: v2.6.14-rc1~752^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=77ae84554cc0178e03862391599a0cedf96fa4c4;p=linux-2.6-omap-h63xx.git [PATCH] I2C: Drop the I2C_ACK_TEST ioctl Drop the I2C_ACK_TEST ioctl, which was commented out. It never really existed (not after 1999 anyway), and there is no such thing as a ack test on I2C/SMBus anyway. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 1ead5195fde..be35332b67e 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -508,9 +508,6 @@ union i2c_smbus_data { #define I2C_FUNCS 0x0705 /* Get the adapter functionality */ #define I2C_RDWR 0x0707 /* Combined R/W transfer (one stop only)*/ #define I2C_PEC 0x0708 /* != 0 for SMBus PEC */ -#if 0 -#define I2C_ACK_TEST 0x0710 /* See if a slave is at a specific address */ -#endif #define I2C_SMBUS 0x0720 /* SMBus-level access */