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

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

diff -u --recursive --new-file v2.1.35/linux/drivers/net/bpqether.c linux/drivers/net/bpqether.c
@@ -82,6 +82,7 @@
 #include <linux/firewall.h>
 #include <linux/module.h>
 #include <linux/net_alias.h>
+#include <linux/init.h>
 
 #include <net/ip.h>
 #include <net/arp.h>
@@ -632,7 +633,7 @@
  * Initialize driver. To be called from af_ax25 if not compiled as a
  * module
  */
-int bpq_init(void)
+__initfunc(int bpq_init(void))
 {
 	struct device *dev;
 

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