diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-10-13 06:28:39 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-17 16:15:49 -0400 |
commit | 54c776a5bccf5b8c92ecdb480561df05e784128b (patch) | |
tree | 9420d0df20068e98f6ba1f16829e23b1f52e1b0d | |
parent | 5ba4ecc8b0166de4363cc31aa68d52abe0dff8de (diff) |
V4L/DVB (9197): zoran: set adapter class to I2C_CLASS_TV_ANALOG
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.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/zoran/zoran_card.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/zoran/zoran_card.c b/drivers/media/video/zoran/zoran_card.c index 3282be730298..fa5f2f8f518a 100644 --- a/drivers/media/video/zoran/zoran_card.c +++ b/drivers/media/video/zoran/zoran_card.c | |||
@@ -817,6 +817,7 @@ zoran_register_i2c (struct zoran *zr) | |||
817 | memcpy(&zr->i2c_algo, &zoran_i2c_bit_data_template, | 817 | memcpy(&zr->i2c_algo, &zoran_i2c_bit_data_template, |
818 | sizeof(struct i2c_algo_bit_data)); | 818 | sizeof(struct i2c_algo_bit_data)); |
819 | zr->i2c_algo.data = zr; | 819 | zr->i2c_algo.data = zr; |
820 | zr->i2c_adapter.class = I2C_CLASS_TV_ANALOG; | ||
820 | zr->i2c_adapter.id = I2C_HW_B_ZR36067; | 821 | zr->i2c_adapter.id = I2C_HW_B_ZR36067; |
821 | zr->i2c_adapter.client_register = zoran_i2c_client_register; | 822 | zr->i2c_adapter.client_register = zoran_i2c_client_register; |
822 | zr->i2c_adapter.client_unregister = zoran_i2c_client_unregister; | 823 | zr->i2c_adapter.client_unregister = zoran_i2c_client_unregister; |