summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorgregkh@suse.de <gregkh@suse.de>2008-05-29 10:17:38 -0700
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 14:26:45 +0100
commited5a2825feb79c424882c9d0f483172a91c93b54 (patch)
treee66181cf03ed56d0c279301d470a38241dd0a336 /drivers
parenta13b04af713bfa60d44cbac956ab00d3a5793de7 (diff)
isight: treat firmware data as const
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/misc/isight_firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/misc/isight_firmware.c b/drivers/usb/misc/isight_firmware.c
index 9f30aa1f8a5..d94aa738760 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,
const struct firmware *firmware;
unsigned char *buf = kmalloc(50, GFP_KERNEL);
unsigned char data[4];
- u8 *ptr;
+ const u8 *ptr;
if (!buf)
return -ENOMEM;