ttusb-dec: treat firmware data as const
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 23 May 2008 23:12:00 +0000 (00:12 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 10 Jul 2008 13:26:29 +0000 (14:26 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/media/dvb/ttusb-dec/ttusb_dec.c

index fefdc05e84ac787f2d08d1f44d4a415605c95241..de5829b863fd26edd62923cf6168bf9e883bb6ef 100644 (file)
@@ -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;