summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2005-07-10 13:34:17 +0000
committerJohannes Stezenbach <devnull@localhost>2005-07-10 13:34:17 +0000
commit4b77fcd3f666ee4d22f675211403351046cc11ca (patch)
treef7a77a4a36e4acd87a446beb8b7be9171a4120f9 /linux/drivers/media/dvb/dvb-usb
parent1dde231be2cf3a1a38c7dbae7f8a046b7797e2c7 (diff)
downloadmediapointer-dvb-s2-4b77fcd3f666ee4d22f675211403351046cc11ca.tar.gz
mediapointer-dvb-s2-4b77fcd3f666ee4d22f675211403351046cc11ca.tar.bz2
gcc-2.95 compile fix
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/vp702x-fe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/vp702x-fe.c b/linux/drivers/media/dvb/dvb-usb/vp702x-fe.c
index 4cdec6de0..f20d8dbd0 100644
--- a/linux/drivers/media/dvb/dvb-usb/vp702x-fe.c
+++ b/linux/drivers/media/dvb/dvb-usb/vp702x-fe.c
@@ -111,9 +111,9 @@ static int vp702x_fe_read_signal_strength(struct dvb_frontend* fe, u16 *strength
static int vp702x_fe_read_snr(struct dvb_frontend* fe, u16 *snr)
{
+ u8 _snr;
struct vp702x_fe_state *st = fe->demodulator_priv;
vp702x_fe_refresh_state(st);
- u8 _snr;
_snr = (st->snr & 0x1f) * 0xff / 0x1f;
*snr = (_snr << 8) | _snr;