patch-2.1.37 linux/net/lapb/lapb_iface.c

Next file: linux/net/netbeui/af_netbeui.c
Previous file: linux/net/ipx/af_ipx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/net/lapb/lapb_iface.c linux/net/lapb/lapb_iface.c
@@ -39,6 +39,7 @@
 #include <linux/mm.h>
 #include <linux/interrupt.h>
 #include <linux/stat.h>
+#include <linux/init.h>
 #include <net/lapb.h>
 
 static lapb_cb *volatile lapb_list = NULL;
@@ -397,7 +398,7 @@
 EXPORT_SYMBOL(lapb_data_request);
 EXPORT_SYMBOL(lapb_data_received);
 
-void lapb_proto_init(struct net_proto *pro)
+__initfunc(void lapb_proto_init(struct net_proto *pro))
 {
 	printk(KERN_INFO "LAPB for Linux. Version 0.01 for Linux NET3.038 (Linux 2.1)\n");
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov