diff options
author | gregkh@suse.de <gregkh@suse.de> | 2008-05-29 21:17:38 +0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-07-10 17:26:45 +0400 |
commit | ed5a2825feb79c424882c9d0f483172a91c93b54 (patch) | |
tree | e66181cf03ed56d0c279301d470a38241dd0a336 /drivers | |
parent | a13b04af713bfa60d44cbac956ab00d3a5793de7 (diff) | |
download | linux-ed5a2825feb79c424882c9d0f483172a91c93b54.tar.xz |
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.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, const struct firmware *firmware; unsigned char *buf = kmalloc(50, GFP_KERNEL); unsigned char data[4]; - u8 *ptr; + const u8 *ptr; if (!buf) return -ENOMEM; |