aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/avm_a1p.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-02-10 02:29:28 -0500
committerDavid S. Miller <davem@davemloft.net>2008-02-10 02:29:28 -0500
commitf4e64333f829af6b2fe536b0f556d7a6b561c0ef (patch)
treee13ce54a24c6d52d5668d11746855abc26fa864e /drivers/isdn/hisax/avm_a1p.c
parent2fddb6e277ebdb9690c3c7aa0eead5c208701b71 (diff)
isdn: fix section mismatch warning for ISACVer
Fix following warnings: WARNING: drivers/isdn/hisax/built-in.o(.text+0x19723): Section mismatch in reference from the function ISACVersion() to the variable .devinit.data:ISACVer WARNING: drivers/isdn/hisax/built-in.o(.text+0x2005b): Section mismatch in reference from the function setup_avm_a1_pcmcia() to the function .devinit.text:setup_isac() ISACVer were only used from function annotated __devinit so add same annotation to ISACVer. One af the fererencing functions missed __devinit so add it and kill an additional warning. 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>
Diffstat (limited to 'drivers/isdn/hisax/avm_a1p.c')
-rw-r--r--drivers/isdn/hisax/avm_a1p.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/avm_a1p.c b/drivers/isdn/hisax/avm_a1p.c
index c87fa3f9b298..3039c6d68fc4 100644
--- a/drivers/isdn/hisax/avm_a1p.c
+++ b/drivers/isdn/hisax/avm_a1p.c
@@ -213,8 +213,7 @@ AVM_card_msg(struct IsdnCardState *cs, int mt, void *arg)
213 return 0; 213 return 0;
214} 214}
215 215
216int 216int __devinit setup_avm_a1_pcmcia(struct IsdnCard *card)
217setup_avm_a1_pcmcia(struct IsdnCard *card)
218{ 217{
219 u_char model, vers; 218 u_char model, vers;
220 struct IsdnCardState *cs = card->cs; 219 struct IsdnCardState *cs = card->cs;