aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/eepro.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/eepro.c')
-rw-r--r--drivers/net/eepro.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c
index 9e19fbc2f17..4fa8d2a4aef 100644
--- a/drivers/net/eepro.c
+++ b/drivers/net/eepro.c
@@ -891,12 +891,13 @@ err:
891 there is non-reboot way to recover if something goes wrong. 891 there is non-reboot way to recover if something goes wrong.
892 */ 892 */
893 893
894static char irqrmap[] = {-1,-1,0,1,-1,2,-1,-1,-1,0,3,4,-1,-1,-1,-1}; 894static const char irqrmap[] = {-1,-1,0,1,-1,2,-1,-1,-1,0,3,4,-1,-1,-1,-1};
895static char irqrmap2[] = {-1,-1,4,0,1,2,-1,3,-1,4,5,6,7,-1,-1,-1}; 895static const char irqrmap2[] = {-1,-1,4,0,1,2,-1,3,-1,4,5,6,7,-1,-1,-1};
896static int eepro_grab_irq(struct net_device *dev) 896static int eepro_grab_irq(struct net_device *dev)
897{ 897{
898 int irqlist[] = { 3, 4, 5, 7, 9, 10, 11, 12, 0 }; 898 static const int irqlist[] = { 3, 4, 5, 7, 9, 10, 11, 12, 0 };
899 int *irqp = irqlist, temp_reg, ioaddr = dev->base_addr; 899 const int *irqp = irqlist;
900 int temp_reg, ioaddr = dev->base_addr;
900 901
901 eepro_sw2bank1(ioaddr); /* be CAREFUL, BANK 1 now */ 902 eepro_sw2bank1(ioaddr); /* be CAREFUL, BANK 1 now */
902 903