summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/mt20xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/mt20xx.c')
-rw-r--r--linux/drivers/media/video/mt20xx.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/linux/drivers/media/video/mt20xx.c b/linux/drivers/media/video/mt20xx.c
index 775d57f5d..d7c0cc013 100644
--- a/linux/drivers/media/video/mt20xx.c
+++ b/linux/drivers/media/video/mt20xx.c
@@ -365,8 +365,8 @@ static int mt2032_init(struct i2c_client *c)
} while (xok != 1 );
priv->xogc=xogc;
- t->set_tv_freq = mt2032_set_tv_freq;
- t->set_radio_freq = mt2032_set_radio_freq;
+ t->ops.set_tv_freq = mt2032_set_tv_freq;
+ t->ops.set_radio_freq = mt2032_set_radio_freq;
return(1);
}
@@ -494,8 +494,8 @@ static int mt2050_init(struct i2c_client *c)
i2c_master_recv(c,buf,1);
tuner_dbg("mt2050: sro is %x\n",buf[0]);
- t->set_tv_freq = mt2050_set_tv_freq;
- t->set_radio_freq = mt2050_set_radio_freq;
+ t->ops.set_tv_freq = mt2050_set_tv_freq;
+ t->ops.set_radio_freq = mt2050_set_radio_freq;
return 0;
}
@@ -523,10 +523,10 @@ int microtune_init(struct i2c_client *c)
priv->radio_if2 = 10700 * 1000; /* 10.7MHz - FM radio */
memset(buf,0,sizeof(buf));
- t->set_tv_freq = NULL;
- t->set_radio_freq = NULL;
- t->standby = NULL;
- t->release = microtune_release;
+ t->ops.set_tv_freq = NULL;
+ t->ops.set_radio_freq = NULL;
+ t->ops.standby = NULL;
+ t->ops.release = microtune_release;
if (t->std & V4L2_STD_525_60) {
tuner_dbg("pinnacle ntsc\n");
priv->radio_if2 = 41300 * 1000;