X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fnet%2Fwd.c;fp=drivers%2Fnet%2Fwd.c;h=8831a3393ecf7bf60dfa02efbc2a0271ca531185;hb=92d62d098f574ed70b26548e6a2e2f67025864dc;hp=f1549fff0edc981662addc0a486cfd1b069c3e5f;hpb=690c12d2c8ca50e55a3f507059c780ecdb8fd83f;p=mv-sheeva.git diff --git a/drivers/net/wd.c b/drivers/net/wd.c index f1549fff0ed..8831a3393ec 100644 --- a/drivers/net/wd.c +++ b/drivers/net/wd.c @@ -275,7 +275,7 @@ static int __init wd_probe1(struct net_device *dev, int ioaddr) dev->base_addr = ioaddr+WD_NIC_OFFSET; if (dev->irq < 2) { - int irqmap[] = {9,3,5,7,10,11,15,4}; + static const int irqmap[] = {9, 3, 5, 7, 10, 11, 15, 4}; int reg1 = inb(ioaddr+1); int reg4 = inb(ioaddr+4); if (ancient || reg1 == 0xff) { /* Ack!! No way to read the IRQ! */