]> err.no Git - linux-2.6/commit
rt2x00: Fix compile warning
authorIvo van Doorn <IvDoorn@gmail.com>
Sat, 2 Aug 2008 08:31:09 +0000 (01:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Aug 2008 08:31:09 +0000 (01:31 -0700)
commit82f97b8d3cb3982ec97e081598c671fab2c321b0
treea0909f3f4d12ae3e1436e78b9bfd620eeff9ce06
parente9e80ea5f2129e135e3a6fa260314b1c6d99b19a
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>
drivers/net/wireless/rt2x00/rt2x00usb.c
drivers/net/wireless/rt2x00/rt2x00usb.h