parport_init_mode is used by devinit code so it should be __devinitdata;

Error: ./drivers/parport/parport_pc.o .text refers to 0000000000002601 
R_X86_64_PC32     .init.data+0x00000000000000e0

Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>

diffstat:=
 drivers/parport/parport_pc.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naurp ./drivers/parport/parport_pc.c~parport_pc_sections 
./drivers/parport/parport_pc.c
--- ./drivers/parport/parport_pc.c~parport_pc_sections  2005-02-27 
12:54:05.893027568 -0800
+++ ./drivers/parport/parport_pc.c      2005-02-27 19:15:23.024175000 -0800
@@ -2488,7 +2488,7 @@ static int __devinit sio_ite_8872_probe 
 
 /* VIA 8231 support by Pavel Fedin <[EMAIL PROTECTED]>
    based on VIA 686a support code by Jeff Garzik <[EMAIL PROTECTED]> */
-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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to