aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-10-07 18:06:09 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 17:02:09 -0400
commit80ce3b7d0f52877b80cddc3ace8b332d888f0131 (patch)
tree8ca3be85ad953a8a9c874e1c0e805dcd7314c19a
parent31ec5bc57146a479fac6f6878146059180413e43 (diff)
[PATCH] i2c: Drop out-of-date, colliding ioctl definitions
Delete 2 out-of-date, colliding ioctl defines. I2C_UDELAY and I2C_MDELAY are supposed to be used by i2c-algo-bit, but actually aren't (and I suspect never were). Moreover, their values are the same as I2C_FUNCS and I2C_SLAVE_FORCE, respectively, which *are* widely used. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--include/linux/i2c.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 6a1f3424f10f..74103d0a8cd2 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -503,11 +503,6 @@ union i2c_smbus_data {
503 503
504#define I2C_SMBUS 0x0720 /* SMBus-level access */ 504#define I2C_SMBUS 0x0720 /* SMBus-level access */
505 505
506/* ... algo-bit.c recognizes */
507#define I2C_UDELAY 0x0705 /* set delay in microsecs between each */
508 /* written byte (except address) */
509#define I2C_MDELAY 0x0706 /* millisec delay between written bytes */
510
511/* ----- I2C-DEV: char device interface stuff ------------------------- */ 506/* ----- I2C-DEV: char device interface stuff ------------------------- */
512 507
513#define I2C_MAJOR 89 /* Device major number */ 508#define I2C_MAJOR 89 /* Device major number */