2fddb6e277
Fix the following warnings: WARNING: drivers/isdn/hisax/built-in.o(.text+0x722): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_teles3() WARNING: drivers/isdn/hisax/built-in.o(.text+0x72c): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_s0box() WARNING: drivers/isdn/hisax/built-in.o(.text+0x736): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_telespci() WARNING: drivers/isdn/hisax/built-in.o(.text+0x747): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_avm_pcipnp() WARNING: drivers/isdn/hisax/built-in.o(.text+0x74e): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_elsa() WARNING: drivers/isdn/hisax/built-in.o(.text+0x755): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_diva() WARNING: drivers/isdn/hisax/built-in.o(.text+0x75c): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_sedlbauer() WARNING: drivers/isdn/hisax/built-in.o(.text+0x763): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_netjet_s() WARNING: drivers/isdn/hisax/built-in.o(.text+0x76a): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_hfcpci() WARNING: drivers/isdn/hisax/built-in.o(.text+0x771): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_hfcsx() WARNING: drivers/isdn/hisax/built-in.o(.text+0x778): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_niccy() WARNING: drivers/isdn/hisax/built-in.o(.text+0x77f): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_bkm_a4t() WARNING: drivers/isdn/hisax/built-in.o(.text+0x786): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_sct_quadro() WARNING: drivers/isdn/hisax/built-in.o(.text+0x78d): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_gazel() WARNING: drivers/isdn/hisax/built-in.o(.text+0x794): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_w6692() WARNING: drivers/isdn/hisax/built-in.o(.text+0x79b): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_netjet_u() WARNING: drivers/isdn/hisax/built-in.o(.text+0x7a2): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_enternow_pci() checkcard() are the only user of hisax_cs_setup_card(). And checkcard is only used during init or when hot plugging ISDN devices. So annotate hisax_cs_setup_card() with __devinit. checkcard() is used by exported functions so it cannot be annotated __devinit. Annotate it with __ref so modpost ignore references to _devinit section. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Karsten Keil <kkeil@suse.de> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
amd7930_fn.c | ||
amd7930_fn.h | ||
arcofi.c | ||
arcofi.h | ||
asuscom.c | ||
avm_a1.c | ||
avm_a1p.c | ||
avm_pci.c | ||
avma1_cs.c | ||
bkm_a4t.c | ||
bkm_a8.c | ||
bkm_ax.h | ||
callc.c | ||
config.c | ||
diva.c | ||
elsa_cs.c | ||
elsa_ser.c | ||
elsa.c | ||
enternow_pci.c | ||
fsm.c | ||
fsm.h | ||
gazel.c | ||
hfc4s8s_l1.c | ||
hfc4s8s_l1.h | ||
hfc_2bds0.c | ||
hfc_2bds0.h | ||
hfc_2bs0.c | ||
hfc_2bs0.h | ||
hfc_pci.c | ||
hfc_pci.h | ||
hfc_sx.c | ||
hfc_sx.h | ||
hfc_usb.c | ||
hfc_usb.h | ||
hfcscard.c | ||
hisax_cfg.h | ||
hisax_debug.h | ||
hisax_fcpcipnp.c | ||
hisax_fcpcipnp.h | ||
hisax_if.h | ||
hisax_isac.c | ||
hisax_isac.h | ||
hisax.h | ||
hscx_irq.c | ||
hscx.c | ||
hscx.h | ||
icc.c | ||
icc.h | ||
ipac.h | ||
ipacx.c | ||
ipacx.h | ||
isac.c | ||
isac.h | ||
isar.c | ||
isar.h | ||
isdnhdlc.c | ||
isdnhdlc.h | ||
isdnl1.c | ||
isdnl1.h | ||
isdnl2.c | ||
isdnl2.h | ||
isdnl3.c | ||
isdnl3.h | ||
isurf.c | ||
ix1_micro.c | ||
jade_irq.c | ||
jade.c | ||
jade.h | ||
Kconfig | ||
l3_1tr6.c | ||
l3_1tr6.h | ||
l3dss1.c | ||
l3dss1.h | ||
l3ni1.c | ||
l3ni1.h | ||
lmgr.c | ||
Makefile | ||
mic.c | ||
netjet.c | ||
netjet.h | ||
niccy.c | ||
nj_s.c | ||
nj_u.c | ||
q931.c | ||
s0box.c | ||
saphir.c | ||
sedlbauer_cs.c | ||
sedlbauer.c | ||
sportster.c | ||
st5481_b.c | ||
st5481_d.c | ||
st5481_init.c | ||
st5481_usb.c | ||
st5481.h | ||
tei.c | ||
teleint.c | ||
teles0.c | ||
teles3.c | ||
teles_cs.c | ||
telespci.c | ||
w6692.c | ||
w6692.h |