aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2010-02-01 20:01:31 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 13:10:55 -0500
commit83e74554d4b1c6f4906c8a4fff270fcd42978987 (patch)
treecb8b3efeb350f9f280fe568301b4cf85527eed92
parentedad22a7b0e5899ee503794543ce4c77cfb34d58 (diff)
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 = {
1853 1853
1854 .xtal = 27000000, 1854 .xtal = 27000000,
1855 .address = 0x68, 1855 .address = 0x68,
1856// .ref_clk = 27000000,
1857 1856
1858 .ts1_mode = STV090x_TSMODE_SERIAL_PUNCTURED, 1857 .ts1_mode = STV090x_TSMODE_SERIAL_PUNCTURED,
1859 .ts2_mode = STV090x_TSMODE_SERIAL_PUNCTURED, 1858 .ts2_mode = STV090x_TSMODE_SERIAL_PUNCTURED,
@@ -1861,27 +1860,18 @@ static struct stv090x_config fe_mps2 = {
1861 .repeater_level = STV090x_RPTLEVEL_16, 1860 .repeater_level = STV090x_RPTLEVEL_16,
1862 1861
1863 .diseqc_envelope_mode = true, 1862 .diseqc_envelope_mode = true,
1864
1865 .tuner_init = NULL,
1866 .tuner_set_mode = NULL,
1867 .tuner_set_frequency = NULL,
1868 .tuner_get_frequency = NULL,
1869 .tuner_set_bandwidth = NULL,
1870 .tuner_get_bandwidth = NULL,
1871 .tuner_set_bbgain = NULL,
1872 .tuner_get_bbgain = NULL,
1873 .tuner_set_refclk = NULL,
1874 .tuner_get_status = NULL,
1875}; 1863};
1876 1864
1877static struct stv6110x_config tuner_mps2_0 = { 1865static struct stv6110x_config tuner_mps2_0 = {
1878 .addr = 0x60, 1866 .addr = 0x60,
1879 .refclk = 27000000, 1867 .refclk = 27000000,
1868 .clk_div = 1,
1880}; 1869};
1881 1870
1882static struct stv6110x_config tuner_mps2_1 = { 1871static struct stv6110x_config tuner_mps2_1 = {
1883 .addr = 0x63, 1872 .addr = 0x63,
1884 .refclk = 27000000, 1873 .refclk = 27000000,
1874 .clk_div = 1,
1885}; 1875};
1886 1876
1887static struct ngene_info ngene_info_mps2 = { 1877static struct ngene_info ngene_info_mps2 = {