el3_common_init() should be __devinit, not __init

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Al Viro and committed by Linus Torvalds 37b2a179 9ca68233

+3 -3
+3 -3
drivers/net/3c509.c
··· 94 94 #include <asm/io.h> 95 95 #include <asm/irq.h> 96 96 97 - static char version[] __initdata = DRV_NAME ".c:" DRV_VERSION " " DRV_RELDATE " becker@scyld.com\n"; 97 + static char version[] __devinitdata = DRV_NAME ".c:" DRV_VERSION " " DRV_RELDATE " becker@scyld.com\n"; 98 98 99 99 #ifdef EL3_DEBUG 100 100 static int el3_debug = EL3_DEBUG; ··· 186 186 static int nopnp; 187 187 #endif 188 188 189 - static int __init el3_common_init(struct net_device *dev); 189 + static int __devinit el3_common_init(struct net_device *dev); 190 190 static void el3_common_remove(struct net_device *dev); 191 191 static ushort id_read_eeprom(int index); 192 192 static ushort read_eeprom(int ioaddr, int index); ··· 537 537 static int mca_registered; 538 538 #endif /* CONFIG_MCA */ 539 539 540 - static int __init el3_common_init(struct net_device *dev) 540 + static int __devinit el3_common_init(struct net_device *dev) 541 541 { 542 542 struct el3_private *lp = netdev_priv(dev); 543 543 int err;