提交 45ef0bdb 编写于 作者: D David Woodhouse 提交者: David Woodhouse

zd1201: treat firmware data as const

Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
上级 0bc202e0
...@@ -49,7 +49,7 @@ MODULE_DEVICE_TABLE(usb, zd1201_table); ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册