patch-2.1.37 linux/net/x25/sysctl_net_x25.c

Next file: linux/scripts/mkdep.c
Previous file: linux/net/x25/af_x25.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/net/x25/sysctl_net_x25.c linux/net/x25/sysctl_net_x25.c
@@ -10,6 +10,7 @@
 #include <linux/skbuff.h>
 #include <linux/socket.h>
 #include <linux/netdevice.h>
+#include <linux/init.h>
 #include <net/x25.h>
 
 static int min_timer[] = {1   * X25_SLOWHZ};
@@ -46,7 +47,7 @@
 	{0}
 };
 
-void x25_register_sysctl(void)
+__initfunc(void x25_register_sysctl(void))
 {
 	x25_table_header = register_sysctl_table(x25_root_table, 1);
 }

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