]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/decnet/dn_neigh.c
net: proc: change proc_net_fops_create to proc_create
[mirror_ubuntu-artful-kernel.git] / net / decnet / dn_neigh.c
index 856636addd7618598be5c341cb6afd1de1ba971a..f3408f369fe30e989f524e4228553acd005bf6b1 100644 (file)
@@ -590,7 +590,8 @@ static const struct file_operations dn_neigh_seq_fops = {
 void __init dn_neigh_init(void)
 {
        neigh_table_init(&dn_neigh_table);
-       proc_net_fops_create(&init_net, "decnet_neigh", S_IRUGO, &dn_neigh_seq_fops);
+       proc_create("decnet_neigh", S_IRUGO, init_net.proc_net,
+                   &dn_neigh_seq_fops);
 }
 
 void __exit dn_neigh_cleanup(void)