[PATCH] __devinit in parport_pc.c

From: Andries Brouwer
Date: Sat Nov 13 2004 - 20:24:01 EST


diff -uprN -X /linux/dontdiff a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c
--- a/drivers/parport/parport_pc.c 2004-10-30 21:44:01.000000000 +0200
+++ b/drivers/parport/parport_pc.c 2004-11-14 00:53:02.000000000 +0100
@@ -2989,7 +2989,7 @@ static struct pnp_driver parport_pc_pnp_


/* This is called by parport_pc_find_nonpci_ports (in asm/parport.h) */
-static int __init __attribute__((unused))
+static int __devinit __attribute__((unused))
parport_pc_find_isa_ports (int autoirq, int autodma)
{
int count = 0;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/