summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2010-02-01 22:01:31 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 15:10:55 -0300
commit83e74554d4b1c6f4906c8a4fff270fcd42978987 (patch)
treecb8b3efeb350f9f280fe568301b4cf85527eed92
parentedad22a7b0e5899ee503794543ce4c77cfb34d58 (diff)
downloadlinux-83e74554d4b1c6f4906c8a4fff270fcd42978987.tar.bz2
V4L/DVB: ngene: Adapt to current frontend drivers
Adapt to current stv090x + stv6110 drivers. [mchehab@redhat.com: removed compilation hack added by me on a prev patch] Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/ngene/ngene-core.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/media/dvb/ngene/ngene-core.c b/drivers/media/dvb/ngene/ngene-core.c
index 31f32b8bc4bc..42506dc2e70f 100644
--- a/drivers/media/dvb/ngene/ngene-core.c
+++ b/drivers/media/dvb/ngene/ngene-core.c
@@ -1853,7 +1853,6 @@ static struct stv090x_config fe_mps2 = {
.xtal = 27000000,
.address = 0x68,
-// .ref_clk = 27000000,
.ts1_mode = STV090x_TSMODE_SERIAL_PUNCTURED,
.ts2_mode = STV090x_TSMODE_SERIAL_PUNCTURED,
@@ -1861,27 +1860,18 @@ static struct stv090x_config fe_mps2 = {
.repeater_level = STV090x_RPTLEVEL_16,
.diseqc_envelope_mode = true,
-
- .tuner_init = NULL,
- .tuner_set_mode = NULL,
- .tuner_set_frequency = NULL,
- .tuner_get_frequency = NULL,
- .tuner_set_bandwidth = NULL,
- .tuner_get_bandwidth = NULL,
- .tuner_set_bbgain = NULL,
- .tuner_get_bbgain = NULL,
- .tuner_set_refclk = NULL,
- .tuner_get_status = NULL,
};
static struct stv6110x_config tuner_mps2_0 = {
.addr = 0x60,
.refclk = 27000000,
+ .clk_div = 1,
};
static struct stv6110x_config tuner_mps2_1 = {
.addr = 0x63,
.refclk = 27000000,
+ .clk_div = 1,
};
static struct ngene_info ngene_info_mps2 = {