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

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

diff -u --recursive --new-file v2.1.35/linux/drivers/net/e2100.c linux/drivers/net/e2100.c
@@ -43,6 +43,7 @@
 #include <linux/ioport.h>
 #include <linux/netdevice.h>
 #include <linux/etherdevice.h>
+#include <linux/init.h>
 
 #include <asm/io.h>
 #include <asm/system.h>
@@ -115,7 +116,7 @@
 	station address).
  */
 
-int e2100_probe(struct device *dev)
+__initfunc(int e2100_probe(struct device *dev))
 {
 	int *port;
 	int base_addr = dev->base_addr;
@@ -135,7 +136,7 @@
 	return ENODEV;
 }
 
-int e21_probe1(struct device *dev, int ioaddr)
+__initfunc(int e21_probe1(struct device *dev, int ioaddr))
 {
 	int i, status;
 	unsigned char *station_addr = dev->dev_addr;

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