diff options
Diffstat (limited to 'drivers/net/wd.c')
-rw-r--r-- | drivers/net/wd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wd.c b/drivers/net/wd.c index f1549fff0edc..8831a3393ecf 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) | |||
275 | dev->base_addr = ioaddr+WD_NIC_OFFSET; | 275 | dev->base_addr = ioaddr+WD_NIC_OFFSET; |
276 | 276 | ||
277 | if (dev->irq < 2) { | 277 | if (dev->irq < 2) { |
278 | int irqmap[] = {9,3,5,7,10,11,15,4}; | 278 | static const int irqmap[] = {9, 3, 5, 7, 10, 11, 15, 4}; |
279 | int reg1 = inb(ioaddr+1); | 279 | int reg1 = inb(ioaddr+1); |
280 | int reg4 = inb(ioaddr+4); | 280 | int reg4 = inb(ioaddr+4); |
281 | if (ancient || reg1 == 0xff) { /* Ack!! No way to read the IRQ! */ | 281 | if (ancient || reg1 == 0xff) { /* Ack!! No way to read the IRQ! */ |