2004-11-14 01:21:51

by Andries E. Brouwer

[permalink] [raw]
Subject: [PATCH] __devinit in parport_pc.c

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;