diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-07-14 22:38:28 +0200 |
---|---|---|
committer | Jean Delvare <khali@mahadeva.delvare> | 2008-07-14 22:38:28 +0200 |
commit | c1b6b4f2342d073698dfc2547240c35045a1d00e (patch) | |
tree | 2aa5024a099e1c4d5a5b4bc0ce5f832d80d6a15e /drivers/video/fb_ddc.c | |
parent | 0d2b405a628309310b4fc02b26d713b855ad5f68 (diff) | |
download | linux-c1b6b4f2342d073698dfc2547240c35045a1d00e.tar.bz2 |
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 'drivers/video/fb_ddc.c')
-rw-r--r-- | drivers/video/fb_ddc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fb_ddc.c b/drivers/video/fb_ddc.c index a0df63289b5f..0cf96eb8a60f 100644 --- a/drivers/video/fb_ddc.c +++ b/drivers/video/fb_ddc.c @@ -106,6 +106,7 @@ unsigned char *fb_ddc_read(struct i2c_adapter *adapter) algo_data->setsda(algo_data->data, 1); algo_data->setscl(algo_data->data, 1); + adapter->class |= I2C_CLASS_DDC; return edid; } |