patch-2.1.36 linux/drivers/net/x25_asy.c

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

diff -u --recursive --new-file v2.1.35/linux/drivers/net/x25_asy.c linux/drivers/net/x25_asy.c
@@ -24,6 +24,7 @@
 #include <linux/if_arp.h>
 #include <linux/x25.h>
 #include <linux/lapb.h>
+#include <linux/init.h>
 #include "x25_asy.h"
 
 typedef struct x25_ctrl {
@@ -808,7 +809,7 @@
 #ifdef MODULE
 static int x25_asy_init_ctrl_dev(void)
 #else	/* !MODULE */
-int x25_asy_init_ctrl_dev(struct device *dummy)
+__initfunc(int x25_asy_init_ctrl_dev(struct device *dummy))
 #endif	/* !MODULE */
 {
 	int status;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov