isight: treat firmware data as const
authorgregkh@suse.de <gregkh@suse.de>
Thu, 29 May 2008 17:17:38 +0000 (10:17 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 10 Jul 2008 13:26:45 +0000 (14:26 +0100)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/usb/misc/isight_firmware.c

index 9f30aa1..d94aa73 100644 (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;