Commit 99b6e4f5 authored by David Woodhouse's avatar David Woodhouse Committed by David Woodhouse

ttusb-dec: treat firmware data as const

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 4f2a0c3c
...@@ -1275,7 +1275,7 @@ static int ttusb_dec_boot_dsp(struct ttusb_dec *dec) ...@@ -1275,7 +1275,7 @@ static int ttusb_dec_boot_dsp(struct ttusb_dec *dec)
u8 b1[] = { 0x61 }; u8 b1[] = { 0x61 };
u8 *b; u8 *b;
char idstring[21]; char idstring[21];
u8 *firmware = NULL; const u8 *firmware = NULL;
size_t firmware_size = 0; size_t firmware_size = 0;
u16 firmware_csum = 0; u16 firmware_csum = 0;
__be16 firmware_csum_ns; __be16 firmware_csum_ns;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment