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

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

diff -u --recursive --new-file v2.1.35/linux/drivers/net/lapbether.c linux/drivers/net/lapbether.c
@@ -47,6 +47,7 @@
 #include <linux/module.h>
 #include <linux/net_alias.h>
 #include <linux/lapb.h>
+#include <linux/init.h>
 
 static char bcast_addr[6]={0xFF,0xFF,0xFF,0xFF,0xFF,0xFF};
 
@@ -410,7 +411,7 @@
 	return 0;
 }
 
-static int lapbeth_dev_init(struct device *dev)
+__initfunc(static int lapbeth_dev_init(struct device *dev))
 {
 	return 0;
 }

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