diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-10-13 12:28:39 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-10-13 12:28:39 +0200 |
commit | 3218e41f071a9f2deac43fc54453a28e94084cc8 (patch) | |
tree | 92ec7b58768042b706dd0bb31b3811bb9a99e659 /linux/drivers/media/video/zoran/zoran_card.c | |
parent | d509e840df58b01c75b9fb7cb8c0be9f7ab023ce (diff) | |
download | mediapointer-dvb-s2-3218e41f071a9f2deac43fc54453a28e94084cc8.tar.gz mediapointer-dvb-s2-3218e41f071a9f2deac43fc54453a28e94084cc8.tar.bz2 |
zoran: set adapter class to I2C_CLASS_TV_ANALOG
From: Jean Delvare <khali@linux-fr.org>
The adapter class of the zoran driver was never set. However, converting
i2c drivers used by zoran to the new i2c API requires this field to be
correct.
Priority: normal
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/zoran/zoran_card.c')
-rw-r--r-- | linux/drivers/media/video/zoran/zoran_card.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/zoran/zoran_card.c b/linux/drivers/media/video/zoran/zoran_card.c index 081b72a45..d5026ae51 100644 --- a/linux/drivers/media/video/zoran/zoran_card.c +++ b/linux/drivers/media/video/zoran/zoran_card.c @@ -818,6 +818,7 @@ zoran_register_i2c (struct zoran *zr) memcpy(&zr->i2c_algo, &zoran_i2c_bit_data_template, sizeof(struct i2c_algo_bit_data)); zr->i2c_algo.data = zr; + zr->i2c_adapter.class = I2C_CLASS_TV_ANALOG; zr->i2c_adapter.id = I2C_HW_B_ZR36067; zr->i2c_adapter.client_register = zoran_i2c_client_register; zr->i2c_adapter.client_unregister = zoran_i2c_client_unregister; |