summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv/ivtv-i2c.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-12-21 21:33:36 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:04:15 -0200
commit0e614cd1a5a09b36a3b6d0fff8a08a97800d3cce (patch)
treeae5eb3832437a256976353302e57313579f580c3 /drivers/media/video/ivtv/ivtv-i2c.c
parent3f51451b516eeb19d3c1ea311ee8845fc80b5135 (diff)
downloadkernel-crypto-0e614cd1a5a09b36a3b6d0fff8a08a97800d3cce.tar.gz
kernel-crypto-0e614cd1a5a09b36a3b6d0fff8a08a97800d3cce.tar.xz
kernel-crypto-0e614cd1a5a09b36a3b6d0fff8a08a97800d3cce.zip
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.c4
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 9acfde68116..efd4a1324dc 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)
sizeof(struct i2c_adapter));
memcpy(&itv->i2c_algo, &ivtv_i2c_algo_template,
sizeof(struct i2c_algo_bit_data));
- itv->i2c_algo.data = itv;
- itv->i2c_adap.algo_data = &itv->i2c_algo;
}
+ itv->i2c_algo.data = itv;
+ itv->i2c_adap.algo_data = &itv->i2c_algo;
sprintf(itv->i2c_adap.name + strlen(itv->i2c_adap.name), " #%d",
itv->num);