net: proc: change proc_net_fops_create to proc_create
[deliverable/linux.git] / drivers / net / hamradio / bpqether.c
index c2e5497397d5ebd3a97bbfe96e394f1030df98a0..61f28842163d5c18622bfe06eac122057f1e614b 100644 (file)
@@ -586,7 +586,8 @@ static int bpq_device_event(struct notifier_block *this,unsigned long event, voi
 static int __init bpq_init_driver(void)
 {
 #ifdef CONFIG_PROC_FS
-       if (!proc_net_fops_create(&init_net, "bpqether", S_IRUGO, &bpq_info_fops)) {
+       if (!proc_create("bpqether", S_IRUGO, init_net.proc_net,
+                        &bpq_info_fops)) {
                printk(KERN_ERR
                        "bpq: cannot create /proc/net/bpqether entry.\n");
                return -ENOENT;
This page took 0.023913 seconds and 5 git commands to generate.