From: David Woodhouse Date: Fri, 23 May 2008 23:12:00 +0000 (+0100) Subject: ttusb-dec: treat firmware data as const X-Git-Tag: v2.6.27-rc1~1094^2^2~44 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=99b6e4f511e38ea7beae35ee1b46b440151ce727;p=linux-2.6-omap-h63xx.git ttusb-dec: treat firmware data as const Signed-off-by: David Woodhouse --- diff --git a/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/drivers/media/dvb/ttusb-dec/ttusb_dec.c index fefdc05e84a..de5829b863f 100644 --- a/drivers/media/dvb/ttusb-dec/ttusb_dec.c +++ b/drivers/media/dvb/ttusb-dec/ttusb_dec.c @@ -1275,7 +1275,7 @@ static int ttusb_dec_boot_dsp(struct ttusb_dec *dec) u8 b1[] = { 0x61 }; u8 *b; char idstring[21]; - u8 *firmware = NULL; + const u8 *firmware = NULL; size_t firmware_size = 0; u16 firmware_csum = 0; __be16 firmware_csum_ns;