diff options
-rw-r--r-- | drivers/usb/misc/isight_firmware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/misc/isight_firmware.c b/drivers/usb/misc/isight_firmware.c index 9f30aa1f8a5d..d94aa7387608 100644 --- a/drivers/usb/misc/isight_firmware.c +++ b/drivers/usb/misc/isight_firmware.c | |||
@@ -41,7 +41,7 @@ static int isight_firmware_load(struct usb_interface *intf, | |||
41 | const struct firmware *firmware; | 41 | const struct firmware *firmware; |
42 | unsigned char *buf = kmalloc(50, GFP_KERNEL); | 42 | unsigned char *buf = kmalloc(50, GFP_KERNEL); |
43 | unsigned char data[4]; | 43 | unsigned char data[4]; |
44 | u8 *ptr; | 44 | const u8 *ptr; |
45 | 45 | ||
46 | if (!buf) | 46 | if (!buf) |
47 | return -ENOMEM; | 47 | return -ENOMEM; |