patch-2.4.0-test10 linux/net/atm/svc.c
Next file: linux/net/ax25/Config.in
Previous file: linux/net/atm/pvc.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Oct 16 12:42:54 2000
- Orig file:
v2.4.0-test9/linux/net/atm/svc.c
- Orig date:
Thu Jul 6 21:37:24 2000
diff -u --recursive --new-file v2.4.0-test9/linux/net/atm/svc.c linux/net/atm/svc.c
@@ -442,10 +442,13 @@
* Initialize the ATM SVC protocol family
*/
-void __init atmsvc_proto_init(struct net_proto *pro)
+static int __init atmsvc_init(void)
{
if (sock_register(&svc_family_ops) < 0) {
printk(KERN_ERR "ATMSVC: can't register");
- return;
+ return -1;
}
+ return 0;
}
+
+module_init(atmsvc_init);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)