[PATCH] __devinitdata in parport_pc

From: Andries Brouwer
Date: Sat Feb 26 2005 - 07:56:57 EST


parport_init_mode is referred to in int __devinit sio_via_probe().

Andries

diff -uprN -X /linux/dontdiff a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c
--- a/drivers/parport/parport_pc.c 2005-02-26 12:13:30.000000000 +0100
+++ b/drivers/parport/parport_pc.c 2005-02-26 14:06:23.000000000 +0100
@@ -2488,7 +2488,7 @@ static int __devinit sio_ite_8872_probe

/* VIA 8231 support by Pavel Fedin <sonic_amiga@xxxxxxxxxx>
based on VIA 686a support code by Jeff Garzik <jgarzik@xxxxxxxxx> */
-static int __initdata parport_init_mode = 0;
+static int __devinitdata parport_init_mode = 0;

/* Data for two known VIA chips */
static struct parport_pc_via_data via_686a_data __devinitdata = {
-
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/