diff options
author | Johannes Stezenbach <devnull@localhost> | 2005-05-24 10:07:55 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2005-05-24 10:07:55 +0000 |
commit | 3860060ba08111224b70380adecefa0c3bc9b7a5 (patch) | |
tree | 5644acf3bd71b337ec76fef48d2150cc6fa91be9 /linux/drivers/media/dvb/frontends/bcm3510.c | |
parent | f9b143e9079e3eb4585a44ad07699b6e662dd9fe (diff) | |
download | mediapointer-dvb-s2-3860060ba08111224b70380adecefa0c3bc9b7a5.tar.gz mediapointer-dvb-s2-3860060ba08111224b70380adecefa0c3bc9b7a5.tar.bz2 |
fix:
drivers/media/dvb/frontends/bcm3510.c: In function `bcm3510_read_signal_strength':
drivers/media/dvb/frontends/bcm3510.c:322: warning: ISO C90 forbids mixed declarations and code
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/bcm3510.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/bcm3510.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/bcm3510.c b/linux/drivers/media/dvb/frontends/bcm3510.c index 41b40d532..f5fdc5c3e 100644 --- a/linux/drivers/media/dvb/frontends/bcm3510.c +++ b/linux/drivers/media/dvb/frontends/bcm3510.c @@ -318,8 +318,10 @@ static int bcm3510_read_unc(struct dvb_frontend* fe, u32* unc) static int bcm3510_read_signal_strength(struct dvb_frontend* fe, u16* strength) { struct bcm3510_state* st = fe->demodulator_priv; + s32 t; + bcm3510_refresh_state(st); - s32 t = st->status2.SIGNAL; + t = st->status2.SIGNAL; if (t > 190) t = 190; |