patch-2.3.13 linux/drivers/net/smc9194.c

Next file: linux/drivers/net/sonic.h
Previous file: linux/drivers/net/smc-ultra32.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/drivers/net/smc9194.c linux/drivers/net/smc9194.c
@@ -750,7 +750,7 @@
  |
  ---------------------------------------------------------------------------
 */
-__initfunc(int smc_init(struct device *dev))
+int __init smc_init(struct device *dev)
 {
 	int i;
 	int base_addr = dev ? dev->base_addr : 0;
@@ -795,7 +795,7 @@
  . interrupt, so an auto-detect routine can detect it, and find the IRQ,
  ------------------------------------------------------------------------
 */
-__initfunc(int smc_findirq( int ioaddr ))
+int __init smc_findirq( int ioaddr )
 {
 	int	timeout = 20;
 
@@ -877,7 +877,7 @@
  .---------------------------------------------------------------------
  */
 
-__initfunc(static int smc_probe( int ioaddr ))
+static int __init smc_probe( int ioaddr )
 {
 	unsigned int	bank;
 	word	revision_register;
@@ -942,7 +942,7 @@
  . o  GRAB the region
  .-----------------------------------------------------------------
 */
-__initfunc(static int  smc_initcard(struct device *dev, int ioaddr))
+static int __init smc_initcard(struct device *dev, int ioaddr)
 {
 	int i;
 

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