diff options
Diffstat (limited to 'drivers/net/wireless/atmel.c')
-rw-r--r-- | drivers/net/wireless/atmel.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/atmel.c b/drivers/net/wireless/atmel.c index c8f7090b27d3..46e382ed46aa 100644 --- a/drivers/net/wireless/atmel.c +++ b/drivers/net/wireless/atmel.c | |||
@@ -1161,7 +1161,7 @@ static irqreturn_t service_interrupt(int irq, void *dev_id) | |||
1161 | struct atmel_private *priv = netdev_priv(dev); | 1161 | struct atmel_private *priv = netdev_priv(dev); |
1162 | u8 isr; | 1162 | u8 isr; |
1163 | int i = -1; | 1163 | int i = -1; |
1164 | static u8 irq_order[] = { | 1164 | static const u8 irq_order[] = { |
1165 | ISR_OUT_OF_RANGE, | 1165 | ISR_OUT_OF_RANGE, |
1166 | ISR_RxCOMPLETE, | 1166 | ISR_RxCOMPLETE, |
1167 | ISR_TxCOMPLETE, | 1167 | ISR_TxCOMPLETE, |
@@ -3771,7 +3771,9 @@ static int probe_atmel_card(struct net_device *dev) | |||
3771 | 3771 | ||
3772 | if (rc) { | 3772 | if (rc) { |
3773 | if (dev->dev_addr[0] == 0xFF) { | 3773 | if (dev->dev_addr[0] == 0xFF) { |
3774 | u8 default_mac[] = {0x00, 0x04, 0x25, 0x00, 0x00, 0x00}; | 3774 | static const u8 default_mac[] = { |
3775 | 0x00, 0x04, 0x25, 0x00, 0x00, 0x00 | ||
3776 | }; | ||
3775 | printk(KERN_ALERT "%s: *** Invalid MAC address. UPGRADE Firmware ****\n", dev->name); | 3777 | printk(KERN_ALERT "%s: *** Invalid MAC address. UPGRADE Firmware ****\n", dev->name); |
3776 | memcpy(dev->dev_addr, default_mac, 6); | 3778 | memcpy(dev->dev_addr, default_mac, 6); |
3777 | } | 3779 | } |