diff options
Diffstat (limited to 'net/irda')
-rw-r--r-- | net/irda/irsysctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/irda/irsysctl.c b/net/irda/irsysctl.c index 2615ffc8e785..20ced38fc371 100644 --- a/net/irda/irsysctl.c +++ b/net/irda/irsysctl.c @@ -251,7 +251,7 @@ static struct ctl_table_header *irda_table_header; */ int __init irda_sysctl_register(void) { - irda_table_header = register_sysctl_paths(irda_path, irda_table); + irda_table_header = register_net_sysctl_table(&init_net, irda_path, irda_table); if (!irda_table_header) return -ENOMEM; @@ -266,7 +266,7 @@ int __init irda_sysctl_register(void) */ void irda_sysctl_unregister(void) { - unregister_sysctl_table(irda_table_header); + unregister_net_sysctl_table(irda_table_header); } |