hfc_sx eliminate bad section references
PATCH 1/1 hfc_sx eliminate bad section references
Fix hfc_sx section references:
convert __initdata to __devinitdata.
Error: ./drivers/isdn/hisax/hfc_sx.o .text refers to 0000204d R_386_32 .init.data
Error: ./drivers/isdn/hisax/hfc_sx.o .text refers to 0000205c R_386_32 .init.data
Error: ./drivers/isdn/hisax/hfc_sx.o .text refers to 00002082 R_386_32 .init.data
Error: ./drivers/isdn/hisax/hfc_sx.o .text refers to 0000209f R_386_32 .init.data
Error: ./drivers/isdn/hisax/hfc_sx.o .text refers to 00002114 R_386_32 .init.data
Error: ./drivers/isdn/hisax/hfc_sx.o .text refers to 0000211c R_386_32 .init.data
Error: ./drivers/isdn/hisax/hfc_sx.o .text refers to 0000212e R_386_32 .init.data
diff -pruN -X dontdiff linux-2.6.11-bk8/drivers/isdn/hisax/hfc_sx.c linux-2.6.11-bk8-max/drivers/isdn/hisax/hfc_sx.c
drivers/isdn/hisax/hfc_sx.c +2 -2
@@ -1382,14 +1382,14 @@ hfcsx_card_msg(struct IsdnCardState *cs, }#ifdef __ISAPNP__ -static struct isapnp_device_id hfc_ids[]__initdata = { +static struct isapnp_device_id hfc_ids[]__devinitdata = { {ISAPNP_VENDOR ('T' ,'A' ,'G' ),ISAPNP_FUNCTION (0x2620 ),ISAPNP_VENDOR ('T' ,'A' ,'G' ),ISAPNP_FUNCTION (0x2620 ), (unsigned long )"Teles 16.3c2" }, {0 , } }; -static struct isapnp_device_id *ipid__initdata = &hfc_ids[0 ]; +static struct isapnp_device_id *ipid__devinitdata = &hfc_ids[0 ];static struct pnp_card *pnp_c__devinitdata =NULL ;#endif
Quoted 17 lines · maximilian attems
Fix
hfc_sxsection references:
convert__initdatato__devinitdata.Error:
./drivers/isdn/hisax/hfc_sx.o.text refers to0000204dR_386_32.init.data
Error:./drivers/isdn/hisax/hfc_sx.o.text refers to0000205cR_386_32.init.data
Error:./drivers/isdn/hisax/hfc_sx.o.text refers to 00002082R_386_32.init.data
Error:./drivers/isdn/hisax/hfc_sx.o.text refers to0000209fR_386_32.init.data
Error:./drivers/isdn/hisax/hfc_sx.o.text refers to 00002114R_386_32.init.data
Error:./drivers/isdn/hisax/hfc_sx.o.text refers to0000211cR_386_32.init.data
Error:./drivers/isdn/hisax/hfc_sx.o.text refers to0000212eR_386_32.init.data
Quoted 1 line
Signed-off-by maximilian attems <[email protected]>
Quoted 21 lines
diff -pruN -X dontdiff
linux-2.6.11-bk8/drivers/isdn/hisax/hfc_sx.clinux-2.6.11-bk8-max/drivers/isdn/hisax/hfc_sx.cdrivers/isdn/hisax/hfc_sx.c +2
-2@@ -1382,14 +1382,14 @@ hfcsx_card_msg(struct IsdnCardState *cs, }#ifdef __ISAPNP__ -static struct isapnp_device_id hfc_ids[]__initdata = { +static struct isapnp_device_id hfc_ids[]__devinitdata = { {ISAPNP_VENDOR ('T' ,'A' ,'G' ),ISAPNP_FUNCTION (0x2620 ),ISAPNP_VENDOR ('T' ,'A' ,'G' ),ISAPNP_FUNCTION (0x2620 ), (unsigned long )"Teles 16.3c2" }, {0 , } }; -static struct isapnp_device_id *ipid__initdata = &hfc_ids[0 ]; +static struct isapnp_device_id *ipid__devinitdata = &hfc_ids[0 ];static struct pnp_card *pnp_c__devinitdata =NULL ;#endif
Signature · 1 line
~Randy