diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-12-21 19:33:36 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:04:15 -0500 |
commit | 0e614cd1a5a09b36a3b6d0fff8a08a97800d3cce (patch) | |
tree | ae5eb3832437a256976353302e57313579f580c3 /drivers/media/video/ivtv/ivtv-i2c.c | |
parent | 3f51451b516eeb19d3c1ea311ee8845fc80b5135 (diff) |
V4L/DVB (6896): ivtv: add XC2028 support for Club3D cards
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-i2c.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/ivtv/ivtv-i2c.c b/drivers/media/video/ivtv/ivtv-i2c.c index 9acfde68116a..efd4a1324dc5 100644 --- a/drivers/media/video/ivtv/ivtv-i2c.c +++ b/drivers/media/video/ivtv/ivtv-i2c.c | |||
@@ -777,9 +777,9 @@ int init_ivtv_i2c(struct ivtv *itv) | |||
777 | sizeof(struct i2c_adapter)); | 777 | sizeof(struct i2c_adapter)); |
778 | memcpy(&itv->i2c_algo, &ivtv_i2c_algo_template, | 778 | memcpy(&itv->i2c_algo, &ivtv_i2c_algo_template, |
779 | sizeof(struct i2c_algo_bit_data)); | 779 | sizeof(struct i2c_algo_bit_data)); |
780 | itv->i2c_algo.data = itv; | ||
781 | itv->i2c_adap.algo_data = &itv->i2c_algo; | ||
782 | } | 780 | } |
781 | itv->i2c_algo.data = itv; | ||
782 | itv->i2c_adap.algo_data = &itv->i2c_algo; | ||
783 | 783 | ||
784 | sprintf(itv->i2c_adap.name + strlen(itv->i2c_adap.name), " #%d", | 784 | sprintf(itv->i2c_adap.name + strlen(itv->i2c_adap.name), " #%d", |
785 | itv->num); | 785 | itv->num); |