summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-07-26 06:28:54 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-26 06:28:54 -0300
commit1f6dd4663794254732f38f41136d3b480dbabc59 (patch)
treeb244e81e4cfb89eb32e96d5bfabd4af26cc3a61f /linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
parent8ee417ab6882e4c478e95c6f0198efe416ee5da8 (diff)
parentd1c3ce25c000fa72c7bfb3b42d88bfbe4f5e37fa (diff)
downloadmediapointer-dvb-s2-1f6dd4663794254732f38f41136d3b480dbabc59.tar.gz
mediapointer-dvb-s2-1f6dd4663794254732f38f41136d3b480dbabc59.tar.bz2
merge: http://linuxtv.org/hg/~hgoede/v4l-dvb/
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
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, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
index 8491913aa..0fdcb19cb 100644
--- a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
+++ b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
@@ -1284,7 +1284,11 @@ 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;