patch-2.3.16 linux/drivers/net/sdlamain.c

Next file: linux/drivers/net/sunhme.c
Previous file: linux/drivers/net/ptifddi.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/drivers/net/sdlamain.c linux/drivers/net/sdlamain.c
@@ -11,7 +11,7 @@
 *		as published by the Free Software Foundation; either version
 *		2 of the License, or (at your option) any later version.
 * ============================================================================
-* May 19, 1999  Arnaldo Melo    __initfunc for wanpipe_init
+* May 19, 1999  Arnaldo Melo    __init for wanpipe_init
 * Nov 28, 1997	Jaspreet Singh	Changed DRV_RELEASE to 1
 * Nov 10, 1997	Jaspreet Singh	Changed sti() to restore_flags();
 * Nov 06, 1997 	Jaspreet Singh	Changed DRV_VERSION to 4 and DRV_RELEASE to 0
@@ -43,7 +43,7 @@
 #include <linux/wanpipe.h>	/* WANPIPE common user API definitions */
 #include <asm/uaccess.h>	/* kernel <-> user copy */
 #include <asm/io.h>		/* phys_to_virt() */
-#include <linux/init.h>         /* __initfunc (when not using as a module) */
+#include <linux/init.h>         /* __init (when not using as a module) */
 
 
 /****** Defines & Macros ****************************************************/
@@ -124,7 +124,7 @@
 #ifdef MODULE
 int init_module (void)
 #else
-__initfunc(int wanpipe_init(void))
+int __init wanpipe_init(void)
 #endif
 {
 	int cnt, err = 0;

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