patch-2.3.10 linux/drivers/net/hamradio/pi2.c

Next file: linux/drivers/net/hamradio/pt.c
Previous file: linux/drivers/net/hamradio/mkiss.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.9/linux/drivers/net/hamradio/pi2.c linux/drivers/net/hamradio/pi2.c
@@ -927,7 +927,7 @@
 /* Probe for a PI card. */
 /* This routine also initializes the timer chip */
 
-__initfunc(static int hw_probe(int ioaddr))
+static int __init hw_probe(int ioaddr)
 {
     int time = 1000;		/* Number of milliseconds for test */
     unsigned long start_time, end_time;
@@ -1182,7 +1182,7 @@
 }
 
 
-__initfunc(int pi_init(void))
+int __init pi_init(void)
 {
     int *port;
     int ioaddr = 0;

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