]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/net/wireless/atmel.c
Merge tag 'v2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[mv-sheeva.git] / drivers / net / wireless / atmel.c
index c8f7090b27d3a69cc0792b176812bdc28300e867..46e382ed46aa76a3a37695eccb25b7c948c10c26 100644 (file)
@@ -1161,7 +1161,7 @@ static irqreturn_t service_interrupt(int irq, void *dev_id)
        struct atmel_private *priv = netdev_priv(dev);
        u8 isr;
        int i = -1;
-       static u8 irq_order[] = {
+       static const u8 irq_order[] = {
                ISR_OUT_OF_RANGE,
                ISR_RxCOMPLETE,
                ISR_TxCOMPLETE,
@@ -3771,7 +3771,9 @@ static int probe_atmel_card(struct net_device *dev)
 
        if (rc) {
                if (dev->dev_addr[0] == 0xFF) {
-                       u8 default_mac[] = {0x00, 0x04, 0x25, 0x00, 0x00, 0x00};
+                       static const u8 default_mac[] = {
+                               0x00, 0x04, 0x25, 0x00, 0x00, 0x00
+                       };
                        printk(KERN_ALERT "%s: *** Invalid MAC address. UPGRADE Firmware ****\n", dev->name);
                        memcpy(dev->dev_addr, default_mac, 6);
                }