aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-23 19:05:28 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 09:26:14 -0400
commit3b216d186c6df2642b397dbb67fbb7884ead0d88 (patch)
tree6f2ba9e274d18ad21f9a00169ae059fa5b9a77b4 /drivers/usb
parentaafcd2f7d6790490bd921f04390bc210b386ecfa (diff)
cxacru: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/usb')
-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:
820} 820}
821 821
822static int cxacru_fw(struct usb_device *usb_dev, enum cxacru_fw_request fw, 822static int cxacru_fw(struct usb_device *usb_dev, enum cxacru_fw_request fw,
823 u8 code1, u8 code2, u32 addr, u8 *data, int size) 823 u8 code1, u8 code2, u32 addr, const u8 *data, int size)
824{ 824{
825 int ret; 825 int ret;
826 u8 *buf; 826 u8 *buf;