diff options
Diffstat (limited to 'net/netrom')
-rw-r--r-- | net/netrom/sysctl_net_netrom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netrom/sysctl_net_netrom.c b/net/netrom/sysctl_net_netrom.c index 1e0fa9e57aac..4ed149e265bf 100644 --- a/net/netrom/sysctl_net_netrom.c +++ b/net/netrom/sysctl_net_netrom.c | |||
@@ -154,10 +154,10 @@ static struct ctl_path nr_path[] = { | |||
154 | 154 | ||
155 | void __init nr_register_sysctl(void) | 155 | void __init nr_register_sysctl(void) |
156 | { | 156 | { |
157 | nr_table_header = register_sysctl_paths(nr_path, nr_table); | 157 | nr_table_header = register_net_sysctl_table(&init_net, nr_path, nr_table); |
158 | } | 158 | } |
159 | 159 | ||
160 | void nr_unregister_sysctl(void) | 160 | void nr_unregister_sysctl(void) |
161 | { | 161 | { |
162 | unregister_sysctl_table(nr_table_header); | 162 | unregister_net_sysctl_table(nr_table_header); |
163 | } | 163 | } |