diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-04-18 16:47:11 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 00:58:55 -0400 |
commit | 20b14562852a0d0327b86283d7391f45aa9293ef (patch) | |
tree | bd2050a2ed68f24e6cd0ad52fe429f187a9d8b4e | |
parent | e994b8d97807536a0f02cff87058d284b29810b7 (diff) |
V4L/DVB (3869): Convert cx24123 to refactored tuner code
Convert to tuner_ops calls.
Remove pll function pointers from structure.
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/dvb/frontends/cx24123.c | 3 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/cx24123.h | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/drivers/media/dvb/frontends/cx24123.c b/drivers/media/dvb/frontends/cx24123.c index 691dc840dcc0..aa3fd8e6cef7 100644 --- a/drivers/media/dvb/frontends/cx24123.c +++ b/drivers/media/dvb/frontends/cx24123.c | |||
@@ -687,9 +687,6 @@ static int cx24123_initfe(struct dvb_frontend* fe) | |||
687 | for (i = 0; i < sizeof(cx24123_regdata) / sizeof(cx24123_regdata[0]); i++) | 687 | for (i = 0; i < sizeof(cx24123_regdata) / sizeof(cx24123_regdata[0]); i++) |
688 | cx24123_writereg(state, cx24123_regdata[i].reg, cx24123_regdata[i].data); | 688 | cx24123_writereg(state, cx24123_regdata[i].reg, cx24123_regdata[i].data); |
689 | 689 | ||
690 | if (state->config->pll_init) | ||
691 | state->config->pll_init(fe); | ||
692 | |||
693 | /* Configure the LNB for 14V */ | 690 | /* Configure the LNB for 14V */ |
694 | if (state->config->use_isl6421) | 691 | if (state->config->use_isl6421) |
695 | cx24123_writelnbreg(state, 0x0, 0x2a); | 692 | cx24123_writelnbreg(state, 0x0, 0x2a); |
diff --git a/drivers/media/dvb/frontends/cx24123.h b/drivers/media/dvb/frontends/cx24123.h index 0c922b5e9263..7ec4ee856014 100644 --- a/drivers/media/dvb/frontends/cx24123.h +++ b/drivers/media/dvb/frontends/cx24123.h | |||
@@ -35,10 +35,6 @@ struct cx24123_config | |||
35 | */ | 35 | */ |
36 | int use_isl6421; | 36 | int use_isl6421; |
37 | 37 | ||
38 | /* PLL maintenance */ | ||
39 | int (*pll_init)(struct dvb_frontend* fe); | ||
40 | int (*pll_set)(struct dvb_frontend* fe, struct dvb_frontend_parameters* params); | ||
41 | |||
42 | /* Need to set device param for start_dma */ | 38 | /* Need to set device param for start_dma */ |
43 | int (*set_ts_params)(struct dvb_frontend* fe, int is_punctured); | 39 | int (*set_ts_params)(struct dvb_frontend* fe, int is_punctured); |
44 | 40 | ||