patch-2.3.13 linux/drivers/net/ni5010.c

Next file: linux/drivers/net/ni52.c
Previous file: linux/drivers/net/net_init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/drivers/net/ni5010.c linux/drivers/net/ni5010.c
@@ -119,7 +119,7 @@
 static void 	show_registers(struct device *dev);
 
 
-__initfunc(int ni5010_probe(struct device *dev))
+int __init ni5010_probe(struct device *dev)
 {
 	int *port;
 
@@ -157,7 +157,7 @@
 	return inb(IE_SAPROM);
 }
 
-__initfunc(void trigger_irq(int ioaddr))
+void __init trigger_irq(int ioaddr)
 {
 		outb(0x00, EDLC_RESET);	/* Clear EDLC hold RESET state */
 		outb(0x00, IE_RESET);	/* Board reset */
@@ -182,7 +182,7 @@
  *      verifies that the correct device exists and functions.
  */
 
-__initfunc(static int ni5010_probe1(struct device *dev, int ioaddr))
+static int __init ni5010_probe1(struct device *dev, int ioaddr)
 {
 	static unsigned version_printed = 0;
 	int i;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)