* [PATCH] parport_pc: use devinitdata
@ 2005-02-28 3:29 Randy.Dunlap
2005-02-28 3:45 ` Randy.Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2005-02-28 3:29 UTC (permalink / raw)
To: lkml; +Cc: torvalds, akpm
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 <rddunlap@osdl.org>
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 <sonic_amiga@rambler.ru>
based on VIA 686a support code by Jeff Garzik <jgarzik@pobox.com> */
-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 = {
---
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] parport_pc: use devinitdata
2005-02-28 3:29 [PATCH] parport_pc: use devinitdata Randy.Dunlap
@ 2005-02-28 3:45 ` Randy.Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2005-02-28 3:45 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: lkml, torvalds, akpm
Randy.Dunlap wrote:
> 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
Yes, aeb already fixed this one.... ignore it.
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-28 3:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-28 3:29 [PATCH] parport_pc: use devinitdata Randy.Dunlap
2005-02-28 3:45 ` Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox