]> git.baikalelectronics.ru Git - kernel.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)
commit545941ab11448710128569177bade3f240c1571c
treee13ce54a24c6d52d5668d11746855abc26fa864e
parent0672218b27345211a24d180f32513583c9ab71eb
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