diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-05-24 00:05:28 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-07-10 14:26:14 +0100 |
commit | 3b216d186c6df2642b397dbb67fbb7884ead0d88 (patch) | |
tree | 6f2ba9e274d18ad21f9a00169ae059fa5b9a77b4 /drivers/usb/atm | |
parent | aafcd2f7d6790490bd921f04390bc210b386ecfa (diff) | |
download | op-kernel-dev-3b216d186c6df2642b397dbb67fbb7884ead0d88.zip op-kernel-dev-3b216d186c6df2642b397dbb67fbb7884ead0d88.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/atm/cxacru.c b/drivers/usb/atm/cxacru.c index 5ea3093..90583d6 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; |