summaryrefslogtreecommitdiff
path: root/drivers/usb/atm
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-24 03:05:28 +0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 17:26:14 +0400
commit3b216d186c6df2642b397dbb67fbb7884ead0d88 (patch)
tree6f2ba9e274d18ad21f9a00169ae059fa5b9a77b4 /drivers/usb/atm
parentaafcd2f7d6790490bd921f04390bc210b386ecfa (diff)
downloadlinux-3b216d186c6df2642b397dbb67fbb7884ead0d88.tar.xz
cxacru: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/usb/atm')
-rw-r--r--drivers/usb/atm/cxacru.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/atm/cxacru.c b/drivers/usb/atm/cxacru.c
index 5ea3093bc40f..90583d6a5949 100644
--- a/drivers/usb/atm/cxacru.c
+++ b/drivers/usb/atm/cxacru.c
@@ -820,7 +820,7 @@ reschedule:
}
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;
u8 *buf;