summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/dibusb-common.c
diff options
context:
space:
mode:
authorAndrew de Quincey <adq_dvb@lidskialf.net>2006-04-18 21:47:12 +0100
committerAndrew de Quincey <adq_dvb@lidskialf.net>2006-04-18 21:47:12 +0100
commitdb775ea3727eb7ccf1d0d1ab2b59c884087fec20 (patch)
treec408640f6d61326b07ad44c41ad6d35ef3338bc9 /linux/drivers/media/dvb/dvb-usb/dibusb-common.c
parentafd115760b632be6ad38728153fe6603cba4bd62 (diff)
downloadmediapointer-dvb-s2-db775ea3727eb7ccf1d0d1ab2b59c884087fec20.tar.gz
mediapointer-dvb-s2-db775ea3727eb7ccf1d0d1ab2b59c884087fec20.tar.bz2
Convert dibusb* to refactored tuner code
From: Andrew de Quincey <adq_dvb@lidskialf.net> Hook tuner call into tuner_ops. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/dibusb-common.c')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/dibusb-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dibusb-common.c b/linux/drivers/media/dvb/dvb-usb/dibusb-common.c
index 2d52b7667..b0435c8f8 100644
--- a/linux/drivers/media/dvb/dvb-usb/dibusb-common.c
+++ b/linux/drivers/media/dvb/dvb-usb/dibusb-common.c
@@ -173,8 +173,8 @@ int dibusb_dib3000mc_frontend_attach(struct dvb_usb_device *d)
struct dib3000_config demod_cfg;
struct dibusb_state *st = d->priv;
- demod_cfg.pll_set = dvb_usb_pll_set_i2c;
- demod_cfg.pll_init = dvb_usb_pll_init_i2c;
+ d->fe->ops->tuner_ops.init = dvb_usb_tuner_init_i2c;
+ d->fe->ops->tuner_ops.set_params = dvb_usb_tuner_set_params_i2c;
for (demod_cfg.demod_address = 0x8; demod_cfg.demod_address < 0xd; demod_cfg.demod_address++)
if ((d->fe = dib3000mc_attach(&demod_cfg,&d->i2c_adap,&st->ops)) != NULL) {