diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-05-23 19:12:00 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-07-10 09:26:29 -0400 |
commit | 99b6e4f511e38ea7beae35ee1b46b440151ce727 (patch) | |
tree | 7ff65f6f8a1145e31db23b97d3e2d1bd860d4c99 /drivers/media/dvb/ttusb-dec | |
parent | 4f2a0c3cdbead635f8aae729f550fcabcb73d1a5 (diff) |
ttusb-dec: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/media/dvb/ttusb-dec')
-rw-r--r-- | drivers/media/dvb/ttusb-dec/ttusb_dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
1275 | u8 b1[] = { 0x61 }; | 1275 | u8 b1[] = { 0x61 }; |
1276 | u8 *b; | 1276 | u8 *b; |
1277 | char idstring[21]; | 1277 | char idstring[21]; |
1278 | u8 *firmware = NULL; | 1278 | const u8 *firmware = NULL; |
1279 | size_t firmware_size = 0; | 1279 | size_t firmware_size = 0; |
1280 | u16 firmware_csum = 0; | 1280 | u16 firmware_csum = 0; |
1281 | __be16 firmware_csum_ns; | 1281 | __be16 firmware_csum_ns; |