From: maximilian attems <janitor@sternwelten.at>
To: lkml <linux-kernel@vger.kernel.org>
Cc: "Randy.Dunlap" <rddunlap@osdl.org>, akpm <akpm@osdl.org>
Subject: [patch] teles3 eliminate bad section references
Date: Mon, 14 Mar 2005 01:05:27 +0100 [thread overview]
Message-ID: <20050314000527.GA13729@sputnik.stro.at> (raw)
Fix teles3 section references:
convert __initdata to __devinitdata.
Error: ./drivers/isdn/hisax/teles3.o .text refers to 000011ab R_386_32
.init.data
Error: ./drivers/isdn/hisax/teles3.o .text refers to 000011ba R_386_32
.init.data
Error: ./drivers/isdn/hisax/teles3.o .text refers to 000011e0 R_386_32
.init.data
Error: ./drivers/isdn/hisax/teles3.o .text refers to 000011fd R_386_32
.init.data
Error: ./drivers/isdn/hisax/teles3.o .text refers to 0000128c R_386_32
.init.data
Error: ./drivers/isdn/hisax/teles3.o .text refers to 00001294 R_386_32
.init.data
Error: ./drivers/isdn/hisax/teles3.o .text refers to 000012a6 R_386_32
.init.data
Signed-off-by: maximilian attems <janitor@sternwelten.at>
diff -pruN -X dontdiff linux-2.6.11-bk8/drivers/isdn/hisax/teles3.c
linux-2.6.11-bk8-max/drivers/isdn/hisax/teles3.c
--- linux-2.6.11-bk8/drivers/isdn/hisax/teles3.c 2005-03-02 08:38:33.000000000 +0100
+++ linux-2.6.11-bk8-max/drivers/isdn/hisax/teles3.c 2005-03-14 00:47:32.000000000 +0100
@@ -254,7 +254,7 @@ Teles_card_msg(struct IsdnCardState *cs,
#ifdef __ISAPNP__
-static struct isapnp_device_id teles_ids[] __initdata = {
+static struct isapnp_device_id teles_ids[] __devinitdata = {
{ ISAPNP_VENDOR('T', 'A', 'G'), ISAPNP_FUNCTION(0x2110),
ISAPNP_VENDOR('T', 'A', 'G'), ISAPNP_FUNCTION(0x2110),
(unsigned long) "Teles 16.3 PnP" },
@@ -267,7 +267,7 @@ static struct isapnp_device_id teles_ids
{ 0, }
};
-static struct isapnp_device_id *ipid __initdata = &teles_ids[0];
+static struct isapnp_device_id *ipid __devinitdata = &teles_ids[0];
static struct pnp_card *pnp_c __devinitdata = NULL;
#endif
next reply other threads:[~2005-03-14 0:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-14 0:05 maximilian attems [this message]
2005-03-14 22:25 ` [patch] teles3 eliminate bad section references Randy.Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050314000527.GA13729@sputnik.stro.at \
--to=janitor@sternwelten.at \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rddunlap@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.