Skip to contentSkip to conversation

I2C updates for 2.4.28 (4/5)

PATCH New Jean Delvare 1 participant 1 message Nov 20, 2004 I2C

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 I2C updates for 2.4.28 (4/5)

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.

include/linux/i2c.h renamed from include/linux/i2c.h.orig +1 -3
@@ -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;
Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/