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 46e9e081fbf1..6a62d6bb96fe 100644
--- a/drivers/net/wireless/rt2x00/rt73usb.c
+++ b/drivers/net/wireless/rt2x00/rt73usb.c
@@ -856,7 +856,7 @@ static char *rt73usb_get_firmware_name(struct rt2x00_dev *rt2x00dev)
856 return FIRMWARE_RT2571; 856 return FIRMWARE_RT2571;
857} 857}
858 858
859static u16 rt73usb_get_firmware_crc(void *data, const size_t len) 859static u16 rt73usb_get_firmware_crc(const void *data, const size_t len)
860{ 860{
861 u16 crc; 861 u16 crc;
862 862
@@ -873,13 +873,13 @@ static u16 rt73usb_get_firmware_crc(void *data, const size_t len)
873 return crc; 873 return crc;
874} 874}
875 875
876static int rt73usb_load_firmware(struct rt2x00_dev *rt2x00dev, void *data, 876static int rt73usb_load_firmware(struct rt2x00_dev *rt2x00dev, const void *data,
877 const size_t len) 877 const size_t len)
878{ 878{
879 unsigned int i; 879 unsigned int i;
880 int status; 880 int status;
881 u32 reg; 881 u32 reg;
882 char *ptr = data; 882 const char *ptr = data;
883 char *cache; 883 char *cache;
884 int buflen; 884 int buflen;
885 int timeout; 885 int timeout;