patch-2.1.37 linux/net/802/llc_macinit.c

Next file: linux/net/802/p8022.c
Previous file: linux/mm/vmscan.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/net/802/llc_macinit.c linux/net/802/llc_macinit.c
@@ -26,6 +26,7 @@
 #include <linux/malloc.h>
 #include <linux/unistd.h>
 #include <linux/netdevice.h>
+#include <linux/init.h>
 #include <net/p8022.h>
 
 #include <asm/byteorder.h>
@@ -202,7 +203,7 @@
 
 #define ALL_TYPES_8022 0
 
-void llc_init(struct net_proto *proto)
+__initfunc(void llc_init(struct net_proto *proto))
 {
 	printk(KERN_NOTICE "IEEE 802.2 LLC for Linux 2.1 (c) 1996 Tim Alpaerts\n");
 	return;

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