diff options
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); |