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

Next file: linux/drivers/net/macsonic.c
Previous file: linux/drivers/net/irda/w83977af_ir.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/drivers/net/jazzsonic.c linux/drivers/net/jazzsonic.c
@@ -90,7 +90,7 @@
  * Probe for a SONIC ethernet controller on a Mips Jazz board.
  * Actually probing is superfluous but we're paranoid.
  */
-__initfunc(int sonic_probe(struct net_device *dev))
+int __init sonic_probe(struct net_device *dev)
 {
     unsigned int base_addr = dev ? dev->base_addr : 0;
     int i;
@@ -115,8 +115,8 @@
     return -ENODEV;
 }
 
-__initfunc(static int sonic_probe1(struct net_device *dev,
-                                   unsigned int base_addr, unsigned int irq))
+static int __init sonic_probe1(struct net_device *dev,
+                               unsigned int base_addr, unsigned int irq)
 {
     static unsigned version_printed = 0;
     unsigned int silicon_revision;

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