patch-2.1.37 linux/net/appletalk/aarp.c

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

diff -u --recursive --new-file v2.1.36/linux/net/appletalk/aarp.c linux/net/appletalk/aarp.c
@@ -47,6 +47,7 @@
 #include <net/datalink.h>
 #include <net/psnap.h>
 #include <linux/atalk.h>
+#include <linux/init.h>
 
 /*
  *	Lists of aarp entries
@@ -796,7 +797,7 @@
 static char aarp_snap_id[]={0x00,0x00,0x00,0x80,0xF3};
 
 
-void aarp_proto_init(void)
+__initfunc(void aarp_proto_init(void))
 {
 	if((aarp_dl=register_snap_client(aarp_snap_id, aarp_rcv))==NULL)
 		printk(KERN_CRIT "Unable to register AARP with SNAP.\n");

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