summaryrefslogtreecommitdiffstats
path: root/net/rose/sysctl_net_rose.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rose/sysctl_net_rose.c')
-rw-r--r--net/rose/sysctl_net_rose.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/rose/sysctl_net_rose.c b/net/rose/sysctl_net_rose.c
index c899a1837..8cd49695f 100644
--- a/net/rose/sysctl_net_rose.c
+++ b/net/rose/sysctl_net_rose.c
@@ -7,6 +7,7 @@
#include <linux/mm.h>
#include <linux/sysctl.h>
+#include <linux/init.h>
#include <net/ax25.h>
#include <net/rose.h>
@@ -58,7 +59,7 @@ static ctl_table rose_root_table[] = {
{0}
};
-void rose_register_sysctl(void)
+__initfunc(void rose_register_sysctl(void))
{
rose_table_header = register_sysctl_table(rose_root_table, 1);
}