patch-2.1.29 linux/net/wanrouter/wanproc.c

Next file: linux/scripts/Configure
Previous file: linux/net/unix/af_unix.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.28/linux/net/wanrouter/wanproc.c linux/net/wanrouter/wanproc.c
@@ -273,13 +273,13 @@
 
 int wanrouter_proc_init (void)
 {
-	int err = proc_register_dynamic(&proc_net, &proc_router);
+	int err = proc_register(&proc_net, &proc_router);
 
 	if (!err)
 	{
-		proc_register_dynamic(&proc_router, &proc_router_info);
-		proc_register_dynamic(&proc_router, &proc_router_conf);
-		proc_register_dynamic(&proc_router, &proc_router_stat);
+		proc_register(&proc_router, &proc_router_info);
+		proc_register(&proc_router, &proc_router_conf);
+		proc_register(&proc_router, &proc_router_stat);
 	}
 	return err;
 }
@@ -313,7 +313,7 @@
 	wandev->dent.ops	= &wandev_inode;
 	wandev->dent.get_info	= &wandev_get_info;
 	wandev->dent.data	= wandev;
-	return proc_register_dynamic(&proc_router, &wandev->dent);
+	return proc_register(&proc_router, &wandev->dent);
 }
 
 /*

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]