summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-08-04 19:32:35 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-08-04 19:32:35 +0200
commitac532d001dbd78c75ab437d4b1d975f11221c2b7 (patch)
treed88dca0b5b0cc48772091d9ae251c50482141846 /linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
parent4bd253361a4d78401fee5c40b508d2e23434df05 (diff)
downloadmediapointer-dvb-s2-ac532d001dbd78c75ab437d4b1d975f11221c2b7.tar.gz
mediapointer-dvb-s2-ac532d001dbd78c75ab437d4b1d975f11221c2b7.tar.bz2
v4l: fix compile errors/warnings.
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c')
-rw-r--r--linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
index 0fdcb19cb..4c233c41f 100644
--- a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
+++ b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
@@ -1284,11 +1284,7 @@ static int ttusb_dec_boot_dsp(struct ttusb_dec *dec)
u8 b1[] = { 0x61 };
u8 *b;
char idstring[21];
-#ifndef TTUSB_KERNEL
- u8 *firmware = NULL;
-#else
const u8 *firmware = NULL;
-#endif
size_t firmware_size = 0;
u16 firmware_csum = 0;
__be16 firmware_csum_ns;