aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2008-01-18 12:15:17 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 14:53:21 -0500
commit043a68b36dc137c5754183c7625950d7fe39be0b (patch)
treeda2c437ba447b054b56de6bb27c198c45493a312 /drivers/media
parent763fbaf65a3f7fd571db427a376e727faeb5bfc5 (diff)
V4L/DVB (9444): Initialize post process events to NULL
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/frontends/stb0899_drv.c2
-rw-r--r--drivers/media/dvb/ttpci/budget-av.c4
-rw-r--r--drivers/media/dvb/ttpci/budget-ci.c4
3 files changed, 7 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c
index 45961193272b..4dc741de3690 100644
--- a/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/drivers/media/dvb/frontends/stb0899_drv.c
@@ -583,7 +583,7 @@ static void stb0899_set_mclk(struct stb0899_state *state, u32 Mclk)
583static int stb0899_postproc(struct stb0899_state *state, u8 ctl, int enable) 583static int stb0899_postproc(struct stb0899_state *state, u8 ctl, int enable)
584{ 584{
585 struct stb0899_config *config = state->config; 585 struct stb0899_config *config = state->config;
586 struct stb0899_postproc *postproc = config->postproc; 586 const struct stb0899_postproc *postproc = config->postproc;
587 587
588 /* post process event */ 588 /* post process event */
589 if (postproc) { 589 if (postproc) {
diff --git a/drivers/media/dvb/ttpci/budget-av.c b/drivers/media/dvb/ttpci/budget-av.c
index 3459a9af7009..aa1bc2d2add7 100644
--- a/drivers/media/dvb/ttpci/budget-av.c
+++ b/drivers/media/dvb/ttpci/budget-av.c
@@ -1445,6 +1445,8 @@ static struct stb0899_config knc1_dvbs2_config = {
1445 .init_s2_fec = knc1_stb0899_s2_init_4, 1445 .init_s2_fec = knc1_stb0899_s2_init_4,
1446 .init_tst = knc1_stb0899_s1_init_5, 1446 .init_tst = knc1_stb0899_s1_init_5,
1447 1447
1448 .postproc = NULL,
1449
1448 .demod_address = 0x68, 1450 .demod_address = 0x68,
1449// .ts_output_mode = STB0899_OUT_PARALLEL, /* types = SERIAL/PARALLEL */ 1451// .ts_output_mode = STB0899_OUT_PARALLEL, /* types = SERIAL/PARALLEL */
1450 .block_sync_mode = STB0899_SYNC_FORCED, /* DSS, SYNC_FORCED/UNSYNCED */ 1452 .block_sync_mode = STB0899_SYNC_FORCED, /* DSS, SYNC_FORCED/UNSYNCED */
@@ -1472,7 +1474,7 @@ static struct stb0899_config knc1_dvbs2_config = {
1472 .tuner_set_frequency = tda8261_set_frequency, 1474 .tuner_set_frequency = tda8261_set_frequency,
1473 .tuner_set_bandwidth = NULL, 1475 .tuner_set_bandwidth = NULL,
1474 .tuner_get_bandwidth = tda8261_get_bandwidth, 1476 .tuner_get_bandwidth = tda8261_get_bandwidth,
1475 .tuner_set_rfsiggain = NULL, 1477 .tuner_set_rfsiggain = NULL
1476}; 1478};
1477 1479
1478/* 1480/*
diff --git a/drivers/media/dvb/ttpci/budget-ci.c b/drivers/media/dvb/ttpci/budget-ci.c
index ae9af21bda6c..a317649bc254 100644
--- a/drivers/media/dvb/ttpci/budget-ci.c
+++ b/drivers/media/dvb/ttpci/budget-ci.c
@@ -1655,6 +1655,8 @@ static struct stb0899_config tt3200_config = {
1655 .init_s2_fec = tt3200_stb0899_s2_init_4, 1655 .init_s2_fec = tt3200_stb0899_s2_init_4,
1656 .init_tst = tt3200_stb0899_s1_init_5, 1656 .init_tst = tt3200_stb0899_s1_init_5,
1657 1657
1658 .postproc = NULL,
1659
1658 .demod_address = 0x68, 1660 .demod_address = 0x68,
1659 1661
1660 .xtal_freq = 27000000, 1662 .xtal_freq = 27000000,
@@ -1679,7 +1681,7 @@ static struct stb0899_config tt3200_config = {
1679 .tuner_set_frequency = stb6100_set_frequency, 1681 .tuner_set_frequency = stb6100_set_frequency,
1680 .tuner_set_bandwidth = stb6100_set_bandwidth, 1682 .tuner_set_bandwidth = stb6100_set_bandwidth,
1681 .tuner_get_bandwidth = stb6100_get_bandwidth, 1683 .tuner_get_bandwidth = stb6100_get_bandwidth,
1682 .tuner_set_rfsiggain = NULL, 1684 .tuner_set_rfsiggain = NULL
1683}; 1685};
1684 1686
1685struct stb6100_config tt3200_stb6100_config = { 1687struct stb6100_config tt3200_stb6100_config = {