aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/atmel.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/atmel.c')
-rw-r--r--drivers/net/wireless/atmel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/atmel.c b/drivers/net/wireless/atmel.c
index 28b6ff3eaa37..bd35bb0a1480 100644
--- a/drivers/net/wireless/atmel.c
+++ b/drivers/net/wireless/atmel.c
@@ -559,7 +559,7 @@ static const struct {
559static void build_wpa_mib(struct atmel_private *priv); 559static void build_wpa_mib(struct atmel_private *priv);
560static int atmel_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 560static int atmel_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
561static void atmel_copy_to_card(struct net_device *dev, u16 dest, 561static void atmel_copy_to_card(struct net_device *dev, u16 dest,
562 unsigned char *src, u16 len); 562 const unsigned char *src, u16 len);
563static void atmel_copy_to_host(struct net_device *dev, unsigned char *dest, 563static void atmel_copy_to_host(struct net_device *dev, unsigned char *dest,
564 u16 src, u16 len); 564 u16 src, u16 len);
565static void atmel_set_gcr(struct net_device *dev, u16 mask); 565static void atmel_set_gcr(struct net_device *dev, u16 mask);
@@ -3855,7 +3855,7 @@ static int reset_atmel_card(struct net_device *dev)
3855 if (priv->card_type == CARD_TYPE_EEPROM) { 3855 if (priv->card_type == CARD_TYPE_EEPROM) {
3856 /* copy in firmware if needed */ 3856 /* copy in firmware if needed */
3857 const struct firmware *fw_entry = NULL; 3857 const struct firmware *fw_entry = NULL;
3858 unsigned char *fw; 3858 const unsigned char *fw;
3859 int len = priv->firmware_length; 3859 int len = priv->firmware_length;
3860 if (!(fw = priv->firmware)) { 3860 if (!(fw = priv->firmware)) {
3861 if (priv->firmware_type == ATMEL_FW_TYPE_NONE) { 3861 if (priv->firmware_type == ATMEL_FW_TYPE_NONE) {
@@ -4122,7 +4122,7 @@ static void atmel_writeAR(struct net_device *dev, u16 data)
4122} 4122}
4123 4123
4124static void atmel_copy_to_card(struct net_device *dev, u16 dest, 4124static void atmel_copy_to_card(struct net_device *dev, u16 dest,
4125 unsigned char *src, u16 len) 4125 const unsigned char *src, u16 len)
4126{ 4126{
4127 int i; 4127 int i;
4128 atmel_writeAR(dev, dest); 4128 atmel_writeAR(dev, dest);