patch-2.3.16 linux/drivers/net/olympic.c

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

diff -u --recursive --new-file v2.3.15/linux/drivers/net/olympic.c linux/drivers/net/olympic.c
@@ -150,7 +150,7 @@
 #endif
 #endif
 
-__initfunc(int olympic_probe(struct net_device *dev)) 
+int __init olympic_probe(struct net_device *dev)
 {
 	int cards_found;
 
@@ -158,7 +158,7 @@
 	return cards_found ? 0 : -ENODEV;
 }
 
-__initfunc(static int olympic_scan(struct net_device *dev)) 
+static int __init olympic_scan(struct net_device *dev)
 {
 	struct pci_dev *pci_device = NULL ;
 	struct olympic_private *olympic_priv;
@@ -226,7 +226,7 @@
 }
 
 
-__initfunc(static int olympic_init(struct net_device *dev)) 
+static int __init olympic_init(struct net_device *dev)
 {
     	struct olympic_private *olympic_priv;
 	__u8 *olympic_mmio, *init_srb,*adapter_addr;

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