Skip to content

Commit

Permalink
isight: treat firmware data as const
Browse files Browse the repository at this point in the history
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
gregkh@suse.de authored and David Woodhouse committed Jul 10, 2008
1 parent a13b04a commit ed5a282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/misc/isight_firmware.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ed5a282

Please sign in to comment.