[patch] teles3 eliminate bad section references

From: maximilian attems
Date: Sun Mar 13 2005 - 19:06:58 EST

Fix teles3 section references:
convert __initdata to __devinitdata.

Error: ./drivers/isdn/hisax/teles3.o .text refers to 000011ab R_386_32
Error: ./drivers/isdn/hisax/teles3.o .text refers to 000011ba R_386_32
Error: ./drivers/isdn/hisax/teles3.o .text refers to 000011e0 R_386_32
Error: ./drivers/isdn/hisax/teles3.o .text refers to 000011fd R_386_32
Error: ./drivers/isdn/hisax/teles3.o .text refers to 0000128c R_386_32
Error: ./drivers/isdn/hisax/teles3.o .text refers to 00001294 R_386_32
Error: ./drivers/isdn/hisax/teles3.o .text refers to 000012a6 R_386_32

Signed-off-by: maximilian attems <janitor@xxxxxxxxxxxxxx>

diff -pruN -X dontdiff linux-2.6.11-bk8/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 = {
(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;

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/