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

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

diff -u --recursive --new-file v2.3.12/linux/drivers/net/skeleton.c linux/drivers/net/skeleton.c
@@ -127,8 +127,8 @@
 struct netdev_entry netcard_drv =
 {cardname, netcard_probe1, NETCARD_IO_EXTENT, netcard_portlist};
 #else
-__initfunc(int
-netcard_probe(struct device *dev))
+int __init 
+netcard_probe(struct device *dev)
 {
 	int i;
 	int base_addr = dev ? dev->base_addr : 0;
@@ -155,7 +155,7 @@
  * probes on the ISA bus. A good device probes avoids doing writes, and
  * verifies that the correct device exists and functions.
  */
-__initfunc(static int netcard_probe1(struct device *dev, int ioaddr))
+static int __init netcard_probe1(struct device *dev, int ioaddr)
 {
 	static unsigned version_printed = 0;
 	int i;

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