• Ivo van Doorn's avatar
    rt2x00: Fix compile warning · 82f97b8d
    Ivo van Doorn authored
    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: default avatarIvo van Doorn <IvDoorn@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    82f97b8d
rt2x00usb.h 10 KB