Commit 3b216d18 authored by David Woodhouse's avatar David Woodhouse Committed by David Woodhouse

cxacru: treat firmware data as const

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent aafcd2f7
...@@ -820,7 +820,7 @@ static void cxacru_poll_status(struct work_struct *work) ...@@ -820,7 +820,7 @@ static void cxacru_poll_status(struct work_struct *work)
} }
static int cxacru_fw(struct usb_device *usb_dev, enum cxacru_fw_request fw, static int cxacru_fw(struct usb_device *usb_dev, enum cxacru_fw_request fw,
u8 code1, u8 code2, u32 addr, u8 *data, int size) u8 code1, u8 code2, u32 addr, const u8 *data, int size)
{ {
int ret; int ret;
u8 *buf; u8 *buf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment