isight: treat firmware data as const
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
a13b04af71
commit
ed5a2825fe
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ static int isight_firmware_load(struct usb_interface *intf,
|
|||
const struct firmware *firmware;
|
||||
unsigned char *buf = kmalloc(50, GFP_KERNEL);
|
||||
unsigned char data[4];
|
||||
u8 *ptr;
|
||||
const u8 *ptr;
|
||||
|
||||
if (!buf)
|
||||
return -ENOMEM;
|
||||
|
|
Loading…
Reference in a new issue