Skip to content
Snippets Groups Projects
Commit ed5a2825 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by David Woodhouse
Browse files

isight: treat firmware data as const


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent a13b04af
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment