patch-2.3.10 linux/drivers/net/3c505.c

Next file: linux/drivers/net/3c507.c
Previous file: linux/drivers/net/3c503.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.9/linux/drivers/net/3c505.c linux/drivers/net/3c505.c
@@ -1339,7 +1339,7 @@
  * Called only by elp_autodetect
  ************************************************************/
 
-__initfunc(static int elp_sense(struct device *dev))
+static int __init elp_sense(struct device *dev)
 {
 	int timeout;
 	int addr = dev->base_addr;
@@ -1406,7 +1406,7 @@
  * Called only by eplus_probe
  *************************************************************/
 
-__initfunc(static int elp_autodetect(struct device *dev))
+static int __init elp_autodetect(struct device *dev)
 {
 	int idx = 0;
 
@@ -1450,7 +1450,7 @@
  * work at all if it was in a weird state).
  */
 
-__initfunc(int elplus_probe(struct device *dev))
+int __init elplus_probe(struct device *dev)
 {
 	elp_device *adapter;
 	int i, tries, tries1, timeout, okay;

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