patch-2.3.10 linux/drivers/net/de620.c

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

diff -u --recursive --new-file v2.3.9/linux/drivers/net/de620.c linux/drivers/net/de620.c
@@ -820,8 +820,8 @@
  *
  * Check if there is a DE-620 connected
  */
-__initfunc(int
-de620_probe(struct device *dev))
+int __init 
+de620_probe(struct device *dev)
 {
 	static struct net_device_stats de620_netstats;
 	int i;
@@ -913,8 +913,8 @@
  */
 #define sendit(dev,data) de620_set_register(dev, W_EIP, data | EIPRegister);
 
-__initfunc(static unsigned short
-ReadAWord(struct device *dev, int from))
+static unsigned short __init 
+ReadAWord(struct device *dev, int from)
 {
 	unsigned short data;
 	int nbits;
@@ -956,8 +956,8 @@
 	return data;
 }
 
-__initfunc(static int
-read_eeprom(struct device *dev))
+static int __init 
+read_eeprom(struct device *dev)
 {
 	unsigned short wrd;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)