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

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

diff -u --recursive --new-file v2.1.35/linux/drivers/net/Space.c linux/drivers/net/Space.c
@@ -30,6 +30,7 @@
 #include <linux/config.h>
 #include <linux/netdevice.h>
 #include <linux/errno.h>
+#include <linux/init.h>
 
 #define	NEXT_DEV	NULL
 
@@ -93,7 +94,7 @@
 extern int de600_probe(struct device *);
 extern int de620_probe(struct device *);
 
-static int ethif_probe(struct device *dev)
+__initfunc(static int ethif_probe(struct device *dev))
 {
     u_long base_addr = dev->base_addr;
 

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