[PATCH 2.4] I2C updates for 2.4.28 (4/5)

From: Jean Delvare
Date: Sat Nov 20 2004 - 07:39:05 EST


Two defined constants in include/linux/i2c.h aren't used anywhere,
haven't ever been and won't ever be. They simply don't correspond to
anything in the i2c core. Let's get rid of them.

Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>

--- linux-2.4.28-rc1/include/linux/i2c.h.orig 2004-10-27 23:45:50.000000000 +0200
+++ linux-2.4.28-rc1/include/linux/i2c.h 2004-10-29 19:28:38.000000000 +0200
@@ -47,11 +47,9 @@

/* --- General options ------------------------------------------------ */

-#define I2C_ALGO_MAX 4 /* control memory consumption */
-#define I2C_ADAP_MAX 16
+#define I2C_ADAP_MAX 16 /* control memory consumption */
#define I2C_DRIVER_MAX 16
#define I2C_CLIENT_MAX 32
-#define I2C_DUMMY_MAX 4

struct i2c_algorithm;
struct i2c_adapter;


--
Jean Delvare
http://khali.linux-fr.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/