diff options
Diffstat (limited to 'net/ax25/af_ax25.c')
-rw-r--r-- | net/ax25/af_ax25.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c index 779095ded689..b6ccbea3477e 100644 --- a/net/ax25/af_ax25.c +++ b/net/ax25/af_ax25.c | |||
@@ -1992,9 +1992,10 @@ static int __init ax25_init(void) | |||
1992 | dev_add_pack(&ax25_packet_type); | 1992 | dev_add_pack(&ax25_packet_type); |
1993 | register_netdevice_notifier(&ax25_dev_notifier); | 1993 | register_netdevice_notifier(&ax25_dev_notifier); |
1994 | 1994 | ||
1995 | proc_net_fops_create(&init_net, "ax25_route", S_IRUGO, &ax25_route_fops); | 1995 | proc_create("ax25_route", S_IRUGO, init_net.proc_net, |
1996 | proc_net_fops_create(&init_net, "ax25", S_IRUGO, &ax25_info_fops); | 1996 | &ax25_route_fops); |
1997 | proc_net_fops_create(&init_net, "ax25_calls", S_IRUGO, &ax25_uid_fops); | 1997 | proc_create("ax25", S_IRUGO, init_net.proc_net, &ax25_info_fops); |
1998 | proc_create("ax25_calls", S_IRUGO, init_net.proc_net, &ax25_uid_fops); | ||
1998 | out: | 1999 | out: |
1999 | return rc; | 2000 | return rc; |
2000 | } | 2001 | } |