From: David Woodhouse Date: Fri, 23 May 2008 23:12:00 +0000 (+0100) Subject: ttusb-dec: treat firmware data as const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=99b6e4f511e38ea7beae35ee1b46b440151ce727;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 fefdc05e84ac..de5829b863fd 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;