mirror of https://gitee.com/openkylin/linux.git
zd1201: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
0bc202e0fd
commit
45ef0bdb18
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue