patch-2.3.10 linux/drivers/net/cops.c
Next file: linux/drivers/net/cosa.c
Previous file: linux/drivers/net/com90xx.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Jul 6 19:05:49 1999
- Orig file:
v2.3.9/linux/drivers/net/cops.c
- Orig date:
Wed Oct 7 15:51:45 1998
diff -u --recursive --new-file v2.3.9/linux/drivers/net/cops.c linux/drivers/net/cops.c
@@ -218,7 +218,7 @@
* If dev->base_addr in [1..0x1ff], always return failure.
* otherwise go with what we pass in.
*/
-__initfunc(int cops_probe(struct device *dev))
+int __init cops_probe(struct device *dev)
{
int i;
int base_addr = dev ? dev->base_addr : 0;
@@ -252,7 +252,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 cops_probe1(struct device *dev, int ioaddr))
+static int __init cops_probe1(struct device *dev, int ioaddr)
{
struct cops_local *lp;
static unsigned version_printed = 0;
@@ -348,7 +348,7 @@
return 0;
}
-__initfunc(static int cops_irq (int ioaddr, int board))
+static int __init cops_irq (int ioaddr, int board)
{ /*
* This does not use the IRQ to determine where the IRQ is. We just
* assume that when we get a correct status response that it's the IRQ.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)