aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/atmel.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-18 05:39:39 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-18 05:39:39 -0400
commit49997d75152b3d23c53b0fa730599f2f74c92c65 (patch)
tree46e93126170d02cfec9505172e545732c1b69656 /drivers/net/wireless/atmel.c
parenta0c80b80e0fb48129e4e9d6a9ede914f9ff1850d (diff)
parent5b664cb235e97afbf34db9c4d77f08ebd725335e (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts: Documentation/powerpc/booting-without-of.txt drivers/atm/Makefile drivers/net/fs_enet/fs_enet-main.c drivers/pci/pci-acpi.c net/8021q/vlan.c net/iucv/iucv.c
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);