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

Next file: linux/drivers/net/smc-mca.c
Previous file: linux/drivers/net/slhc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/drivers/net/slip.c linux/drivers/net/slip.c
@@ -70,6 +70,7 @@
 #include <linux/skbuff.h>
 #include <linux/if_arp.h>
 #include <linux/if_slip.h>
+#include <linux/init.h>
 #include "slip.h"
 #ifdef CONFIG_INET
 #include <linux/ip.h>
@@ -1087,7 +1088,7 @@
 #ifdef MODULE
 static int slip_init_ctrl_dev(void)
 #else	/* !MODULE */
-int slip_init_ctrl_dev(struct device *dummy)
+__initfunc(int slip_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