patch-2.1.37 linux/net/netrom/sysctl_net_netrom.c

Next file: linux/net/netsyms.c
Previous file: linux/net/netrom/af_netrom.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/net/netrom/sysctl_net_netrom.c linux/net/netrom/sysctl_net_netrom.c
@@ -7,6 +7,7 @@
 
 #include <linux/mm.h>
 #include <linux/sysctl.h>
+#include <linux/init.h>
 #include <net/ax25.h>
 #include <net/netrom.h>
 
@@ -78,7 +79,7 @@
 	{0}
 };
 
-void nr_register_sysctl(void)
+__initfunc(void nr_register_sysctl(void))
 {
 	nr_table_header = register_sysctl_table(nr_root_table, 1);
 }

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