summaryrefslogtreecommitdiffstats
path: root/drivers/usb/atm/cxacru.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-24 01:05:28 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 15:26:14 +0200
commit3b216d186c6df2642b397dbb67fbb7884ead0d88 (patch)
tree6f2ba9e274d18ad21f9a00169ae059fa5b9a77b4 /drivers/usb/atm/cxacru.c
parentueagle-atm: treat firmware data as const (diff)
downloadlinux-3b216d186c6df2642b397dbb67fbb7884ead0d88.tar.xz
linux-3b216d186c6df2642b397dbb67fbb7884ead0d88.zip
cxacru: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/usb/atm/cxacru.c')
-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;