From: David Woodhouse Date: Fri, 23 May 2008 23:05:28 +0000 (+0100) Subject: cxacru: treat firmware data as const X-Git-Tag: v2.6.27-rc1~1094^2^2~53 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3b216d186c6df2642b397dbb67fbb7884ead0d88;p=linux-2.6-omap-h63xx.git cxacru: treat firmware data as const Signed-off-by: David Woodhouse --- diff --git a/drivers/usb/atm/cxacru.c b/drivers/usb/atm/cxacru.c index 5ea3093bc40..90583d6a594 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;