2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-20 08:38:24 +08:00

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:
gregkh@suse.de 2008-05-29 10:17:38 -07:00 committed by David Woodhouse
parent a13b04af71
commit ed5a2825fe

View File

@ -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;