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

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

diff -u --recursive --new-file v2.3.15/linux/drivers/net/cycx_main.c linux/drivers/net/cycx_main.c
@@ -36,7 +36,7 @@
 #include <linux/wanrouter.h>	/* WAN router definitions */
 #include <linux/cyclomx.h>	/* cyclomx common user API definitions */
 #include <asm/uaccess.h>	/* kernel <-> user copy */
-#include <linux/init.h>         /* __initfunc (when not using as a module) */
+#include <linux/init.h>         /* __init (when not using as a module) */
 
 #ifdef MODULE
 MODULE_AUTHOR("Arnaldo Carvalho de Melo");
@@ -95,7 +95,7 @@
 #ifdef MODULE
 int init_module (void)
 #else
-__initfunc(int cyclomx_init (void))
+int __init cyclomx_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)