aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-07-14 16:38:28 -0400
committerJean Delvare <khali@mahadeva.delvare>2008-07-14 16:38:28 -0400
commitc1b6b4f2342d073698dfc2547240c35045a1d00e (patch)
tree2aa5024a099e1c4d5a5b4bc0ce5f832d80d6a15e /include/linux/i2c.h
parent0d2b405a628309310b4fc02b26d713b855ad5f68 (diff)
i2c: Let framebuffer drivers set their I2C bus class to DDC
Let framebuffer drivers set their I2C bus class to DDC. Once this is done, we will be able to tell the eeprom driver to only probe for EDID EEPROMs on these buses. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r--include/linux/i2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 7c36d5188d39..145797fe6a31 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -349,7 +349,7 @@ static inline void i2c_set_adapdata (struct i2c_adapter *dev, void *data)
349#define I2C_CLASS_HWMON (1<<0) /* lm_sensors, ... */ 349#define I2C_CLASS_HWMON (1<<0) /* lm_sensors, ... */
350#define I2C_CLASS_TV_ANALOG (1<<1) /* bttv + friends */ 350#define I2C_CLASS_TV_ANALOG (1<<1) /* bttv + friends */
351#define I2C_CLASS_TV_DIGITAL (1<<2) /* dvb cards */ 351#define I2C_CLASS_TV_DIGITAL (1<<2) /* dvb cards */
352#define I2C_CLASS_DDC (1<<3) /* i2c-matroxfb ? */ 352#define I2C_CLASS_DDC (1<<3) /* DDC bus on graphics adapters */
353#define I2C_CLASS_CAM_ANALOG (1<<4) /* camera with analog CCD */ 353#define I2C_CLASS_CAM_ANALOG (1<<4) /* camera with analog CCD */
354#define I2C_CLASS_CAM_DIGITAL (1<<5) /* most webcams */ 354#define I2C_CLASS_CAM_DIGITAL (1<<5) /* most webcams */
355#define I2C_CLASS_SOUND (1<<6) /* sound devices */ 355#define I2C_CLASS_SOUND (1<<6) /* sound devices */