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

Next file: linux/drivers/net/Config.in
Previous file: linux/drivers/net/3c59x.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/drivers/net/8390.c linux/drivers/net/8390.c
@@ -58,6 +58,7 @@
 #include <linux/fcntl.h>
 #include <linux/in.h>
 #include <linux/interrupt.h>
+#include <linux/init.h>
 
 #include <linux/netdevice.h>
 #include <linux/etherdevice.h>
@@ -771,7 +772,7 @@
 }
 
 /* Initialize the rest of the 8390 device structure. */
-int ethdev_init(struct device *dev)
+__initfunc(int ethdev_init(struct device *dev))
 {
     if (ei_debug > 1)
 		printk(version);

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