zd1201: treat firmware data as const

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
David Woodhouse
2008-05-24 00:08:19 +01:00
committed by David Woodhouse
parent 0bc202e0fd
commit 45ef0bdb18

View File

@@ -49,7 +49,7 @@ MODULE_DEVICE_TABLE(usb, zd1201_table);
static int zd1201_fw_upload(struct usb_device *dev, int apfw) static int zd1201_fw_upload(struct usb_device *dev, int apfw)
{ {
const struct firmware *fw_entry; const struct firmware *fw_entry;
char *data; const char *data;
unsigned long len; unsigned long len;
int err; int err;
unsigned char ret; unsigned char ret;