]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
isdn: fix section mismatch warning for ISACVer
authorSam Ravnborg <sam@ravnborg.org>
Sun, 10 Feb 2008 07:29:28 +0000 (23:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Feb 2008 07:29:28 +0000 (23:29 -0800)
commitf4e64333f829af6b2fe536b0f556d7a6b561c0ef
treee13ce54a24c6d52d5668d11746855abc26fa864e
parent2fddb6e277ebdb9690c3c7aa0eead5c208701b71
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>
drivers/isdn/hisax/avm_a1p.c
drivers/isdn/hisax/isac.c