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;