aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e2100.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-12-21 05:16:08 -0500
committerJoe Perches <joe@perches.com>2010-12-21 05:16:08 -0500
commitb6bc765067ece933cc3dc7f5e95665a89100b1d5 (patch)
treebbf55c2d80e839eb4c0ab23bcbdd656d14b3f5fe /drivers/net/e2100.c
parent895950c2a6565d9eefda4a38b00fa28537e39fcb (diff)
drivers/net/*.c: Use static const
Using static const generally increases object text and decreases data size. It also generally decreases overall object size. Signed-off-by: Joe Perches <joe@perches.com>
Diffstat (limited to 'drivers/net/e2100.c')
-rw-r--r--drivers/net/e2100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e2100.c b/drivers/net/e2100.c
index 06e72fbef862..94ec973b2bdc 100644
--- a/drivers/net/e2100.c
+++ b/drivers/net/e2100.c
@@ -216,7 +216,7 @@ static int __init e21_probe1(struct net_device *dev, int ioaddr)
216 printk(" %02X", station_addr[i]); 216 printk(" %02X", station_addr[i]);
217 217
218 if (dev->irq < 2) { 218 if (dev->irq < 2) {
219 int irqlist[] = {15, 11, 10, 12, 5, 9, 3, 4}; 219 static const int irqlist[] = {15, 11, 10, 12, 5, 9, 3, 4};
220 for (i = 0; i < ARRAY_SIZE(irqlist); i++) 220 for (i = 0; i < ARRAY_SIZE(irqlist); i++)
221 if (request_irq (irqlist[i], NULL, 0, "bogus", NULL) != -EBUSY) { 221 if (request_irq (irqlist[i], NULL, 0, "bogus", NULL) != -EBUSY) {
222 dev->irq = irqlist[i]; 222 dev->irq = irqlist[i];