patch-2.1.36 linux/net/core/net_alias.c

Next file: linux/net/core/skbuff.c
Previous file: linux/net/core/dst.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/net/core/net_alias.c linux/net/core/net_alias.c
@@ -43,6 +43,7 @@
 #include <linux/in.h>
 #include <linux/proc_fs.h>
 #include <linux/stat.h>
+#include <linux/init.h>
 
 #include <linux/net_alias.h>
 
@@ -1359,7 +1360,7 @@
  *	Net_alias initialisation called from net_dev_init().
  */
 
-void net_alias_init(void)
+__initfunc(void net_alias_init(void))
 {
 
 	/*

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