aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/atmel.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-15 21:07:59 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-15 21:07:59 -0400
commit84c3d4aaec3338201b449034beac41635866bddf (patch)
tree3412951682fb2dd4feb8a5532f8efbaf8b345933 /drivers/net/wireless/atmel.c
parent43d2548bb2ef7e6d753f91468a746784041e522d (diff)
parentfafa3a3f16723997f039a0193997464d66dafd8f (diff)
Merge commit 'origin/master'
Manual merge of: arch/powerpc/Kconfig arch/powerpc/kernel/stacktrace.c arch/powerpc/mm/slice.c arch/ppc/kernel/smp.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 438e63ecccf1..d1acef7e0b14 100644
--- a/drivers/net/wireless/atmel.c
+++ b/drivers/net/wireless/atmel.c
@@ -560,7 +560,7 @@ static const struct {
560static void build_wpa_mib(struct atmel_private *priv); 560static void build_wpa_mib(struct atmel_private *priv);
561static int atmel_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 561static int atmel_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
562static void atmel_copy_to_card(struct net_device *dev, u16 dest, 562static void atmel_copy_to_card(struct net_device *dev, u16 dest,
563 unsigned char *src, u16 len); 563 const unsigned char *src, u16 len);
564static void atmel_copy_to_host(struct net_device *dev, unsigned char *dest, 564static void atmel_copy_to_host(struct net_device *dev, unsigned char *dest,
565 u16 src, u16 len); 565 u16 src, u16 len);
566static void atmel_set_gcr(struct net_device *dev, u16 mask); 566static void atmel_set_gcr(struct net_device *dev, u16 mask);
@@ -3853,7 +3853,7 @@ static int reset_atmel_card(struct net_device *dev)
3853 if (priv->card_type == CARD_TYPE_EEPROM) { 3853 if (priv->card_type == CARD_TYPE_EEPROM) {
3854 /* copy in firmware if needed */ 3854 /* copy in firmware if needed */
3855 const struct firmware *fw_entry = NULL; 3855 const struct firmware *fw_entry = NULL;
3856 unsigned char *fw; 3856 const unsigned char *fw;
3857 int len = priv->firmware_length; 3857 int len = priv->firmware_length;
3858 if (!(fw = priv->firmware)) { 3858 if (!(fw = priv->firmware)) {
3859 if (priv->firmware_type == ATMEL_FW_TYPE_NONE) { 3859 if (priv->firmware_type == ATMEL_FW_TYPE_NONE) {
@@ -4120,7 +4120,7 @@ static void atmel_writeAR(struct net_device *dev, u16 data)
4120} 4120}
4121 4121
4122static void atmel_copy_to_card(struct net_device *dev, u16 dest, 4122static void atmel_copy_to_card(struct net_device *dev, u16 dest,
4123 unsigned char *src, u16 len) 4123 const unsigned char *src, u16 len)
4124{ 4124{
4125 int i; 4125 int i;
4126 atmel_writeAR(dev, dest); 4126 atmel_writeAR(dev, dest);