patch-2.1.36 linux/drivers/net/smc-mca.c

Next file: linux/drivers/net/smc-ultra.c
Previous file: linux/drivers/net/slip.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/drivers/net/smc-mca.c linux/drivers/net/smc-mca.c
@@ -32,6 +32,7 @@
 #include <linux/sched.h>
 #include <linux/errno.h>
 #include <linux/string.h>
+#include <linux/init.h>
 #include <asm/io.h>
 #include <asm/system.h>
 
@@ -66,7 +67,7 @@
 #define EN0_ERWCNT      0x08  /* Early receive warning count. */
 
 
-int ultramca_probe(struct device *dev)
+__initfunc(int ultramca_probe(struct device *dev))
 {
 	unsigned short ioaddr;
 	unsigned char reg4, num_pages;

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