aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/hp.c')
-rw-r--r--drivers/net/hp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/hp.c b/drivers/net/hp.c
index d15d2f2ba78e..ef2014375e62 100644
--- a/drivers/net/hp.c
+++ b/drivers/net/hp.c
@@ -162,9 +162,9 @@ static int __init hp_probe1(struct net_device *dev, int ioaddr)
162 162
163 /* Snarf the interrupt now. Someday this could be moved to open(). */ 163 /* Snarf the interrupt now. Someday this could be moved to open(). */
164 if (dev->irq < 2) { 164 if (dev->irq < 2) {
165 int irq_16list[] = { 11, 10, 5, 3, 4, 7, 9, 0}; 165 static const int irq_16list[] = { 11, 10, 5, 3, 4, 7, 9, 0};
166 int irq_8list[] = { 7, 5, 3, 4, 9, 0}; 166 static const int irq_8list[] = { 7, 5, 3, 4, 9, 0};
167 int *irqp = wordmode ? irq_16list : irq_8list; 167 const int *irqp = wordmode ? irq_16list : irq_8list;
168 do { 168 do {
169 int irq = *irqp; 169 int irq = *irqp;
170 if (request_irq (irq, NULL, 0, "bogus", NULL) != -EBUSY) { 170 if (request_irq (irq, NULL, 0, "bogus", NULL) != -EBUSY) {