diff options
author | Ivo van Doorn <IvDoorn@gmail.com> | 2008-08-02 01:31:09 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-02 01:31:09 -0700 |
commit | 82f97b8d3cb3982ec97e081598c671fab2c321b0 (patch) | |
tree | a0909f3f4d12ae3e1436e78b9bfd620eeff9ce06 /drivers/net/wireless/rt2x00/rt2x00usb.h | |
parent | e9e80ea5f2129e135e3a6fa260314b1c6d99b19a (diff) | |
download | linux-82f97b8d3cb3982ec97e081598c671fab2c321b0.tar.bz2 |
rt2x00: Fix compile warning
rt2x00usb_vendor_request_large_buff is write-only, so it is
safe to make the argument a const.
Fixes compile warning:
drivers/net/wireless/rt2x00/rt73usb.c: In function 'rt73usb_load_firmware':
drivers/net/wireless/rt2x00/rt73usb.c:916: warning: passing argument 5 of 'rt2x00usb_vendor_request_large_buff' discards qualifiers from pointer target typ
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00usb.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.h b/drivers/net/wireless/rt2x00/rt2x00usb.h index ee3875f894aa..3b4a67417f95 100644 --- a/drivers/net/wireless/rt2x00/rt2x00usb.h +++ b/drivers/net/wireless/rt2x00/rt2x00usb.h @@ -185,7 +185,7 @@ int rt2x00usb_vendor_req_buff_lock(struct rt2x00_dev *rt2x00dev, */ int rt2x00usb_vendor_request_large_buff(struct rt2x00_dev *rt2x00dev, const u8 request, const u8 requesttype, - const u16 offset, void *buffer, + const u16 offset, const void *buffer, const u16 buffer_length, const int timeout); |