[alsa-devel] [PATCH] i2c: Drop I2C_CLASS_CAM_ANALOG and I2C_CLASS_SOUND

Jean Delvare khali at linux-fr.org
Fri Oct 31 10:34:16 CET 2008


There are no users left of these two i2c probe class flags so we can
drop the now.

Signed-off-by: Jean Delvare <khali at linux-fr.org>
---
 include/linux/i2c.h |    2 --
 1 file changed, 2 deletions(-)

--- linux-2.6.28-rc2.orig/include/linux/i2c.h	2008-10-31 09:14:39.000000000 +0100
+++ linux-2.6.28-rc2/include/linux/i2c.h	2008-10-31 09:49:27.000000000 +0100
@@ -393,9 +393,7 @@ static inline void i2c_set_adapdata(stru
 #define I2C_CLASS_TV_ANALOG	(1<<1)	/* bttv + friends */
 #define I2C_CLASS_TV_DIGITAL	(1<<2)	/* dvb cards */
 #define I2C_CLASS_DDC		(1<<3)	/* DDC bus on graphics adapters */
-#define I2C_CLASS_CAM_ANALOG	(1<<4)	/* camera with analog CCD */
 #define I2C_CLASS_CAM_DIGITAL	(1<<5)	/* most webcams */
-#define I2C_CLASS_SOUND		(1<<6)	/* sound devices */
 #define I2C_CLASS_SPD		(1<<7)	/* SPD EEPROMs and similar */
 
 /* i2c_client_address_data is the struct for holding default client


-- 
Jean Delvare


More information about the Alsa-devel mailing list