patch-2.1.37 linux/net/ax25/af_ax25.c

Next file: linux/net/core/firewall.c
Previous file: linux/net/appletalk/ddp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/net/ax25/af_ax25.c linux/net/ax25/af_ax25.c
@@ -126,6 +126,7 @@
 #include <linux/stat.h>
 #include <linux/firewall.h>
 #include <linux/sysctl.h>
+#include <linux/init.h>
 #include <net/ip.h>
 #include <net/arp.h>
 
@@ -1795,7 +1796,7 @@
 };
 #endif
 
-void ax25_proto_init(struct net_proto *pro)
+__initfunc(void ax25_proto_init(struct net_proto *pro))
 {
 	sock_register(&ax25_family_ops);
 	ax25_packet_type.type = htons(ETH_P_AX25);

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