patch-2.1.36 linux/drivers/net/tunnel.c

Next file: linux/drivers/net/wavelan.c
Previous file: linux/drivers/net/tulip.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/drivers/net/tunnel.c linux/drivers/net/tunnel.c
@@ -64,6 +64,7 @@
 #include <linux/in.h>
 #include <net/ip.h>
 #include <linux/if_arp.h>
+#include <linux/init.h>
 
 /*#define TUNNEL_DEBUG*/
 
@@ -213,7 +214,7 @@
  *	The new tunnel device structure is passed to us.
  */
  
-int tunnel_init(struct device *dev)
+__initfunc(int tunnel_init(struct device *dev))
 {
 	/* Oh, just say we're here, in case anyone cares */
 	static int tun_msg=0;

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