From 29d1408f29fe9ddd76993d8f3f1e47986578f5dd Mon Sep 17 00:00:00 2001 From: Kasper Dupont Date: Sat, 11 May 2002 06:21:08 -0400 Subject: [PATCH] Fix oops-able situation in 3c509 net driver by removing __init marker from read_eeprom() --- drivers/net/3c509.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/3c509.c b/drivers/net/3c509.c index 1f152226705c..ba998aa3fe22 100644 --- a/drivers/net/3c509.c +++ b/drivers/net/3c509.c @@ -567,7 +567,7 @@ no_pnp: /* Read a word from the EEPROM using the regular EEPROM access register. Assume that we are in register window zero. */ -static ushort __init read_eeprom(int ioaddr, int index) +static ushort read_eeprom(int ioaddr, int index) { outw(EEPROM_READ + index, ioaddr + 10); /* Pause for at least 162 us. for the read to take place. */ -- 2.39.5