aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt73usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt73usb.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt73usb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c
index 34c6ff27afc4..d383735ab8f2 100644
--- a/drivers/net/wireless/rt2x00/rt73usb.c
+++ b/drivers/net/wireless/rt2x00/rt73usb.c
@@ -867,7 +867,7 @@ static char *rt73usb_get_firmware_name(struct rt2x00_dev *rt2x00dev)
867 return FIRMWARE_RT2571; 867 return FIRMWARE_RT2571;
868} 868}
869 869
870static u16 rt73usb_get_firmware_crc(void *data, const size_t len) 870static u16 rt73usb_get_firmware_crc(const void *data, const size_t len)
871{ 871{
872 u16 crc; 872 u16 crc;
873 873
@@ -884,13 +884,13 @@ static u16 rt73usb_get_firmware_crc(void *data, const size_t len)
884 return crc; 884 return crc;
885} 885}
886 886
887static int rt73usb_load_firmware(struct rt2x00_dev *rt2x00dev, void *data, 887static int rt73usb_load_firmware(struct rt2x00_dev *rt2x00dev, const void *data,
888 const size_t len) 888 const size_t len)
889{ 889{
890 unsigned int i; 890 unsigned int i;
891 int status; 891 int status;
892 u32 reg; 892 u32 reg;
893 char *ptr = data; 893 const char *ptr = data;
894 char *cache; 894 char *cache;
895 int buflen; 895 int buflen;
896 896