isdn: Cleanup Sections in PCMCIA driver avma1
authorHenne <henne@nachtwindheim.de>
Thu, 25 Mar 2010 12:05:31 +0000 (12:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Mar 2010 18:58:01 +0000 (11:58 -0700)
commita465870a808bccba63bf6da30a0b56a2a7abfa5c
tree5899440bfec924d3295fe14097f52acaf8133a25
parent158e33d1c6d0c6bacf577bcb47591aa4293dfcb1
isdn: Cleanup Sections in PCMCIA driver avma1

Compiling this driver gave a section mismatch,
so I reviewed the init/exit paths of the driver
and made the correct changes.

WARNING: drivers/isdn/hisax/built-in.o(.text+0x56512): Section mismatch
in reference from the function avma1cs_config() to the function
.devinit.text:hisax_init_pcmcia()
The function avma1cs_config() references
the function __devinit hisax_init_pcmcia().
This is often because avma1cs_config lacks a __devinit
annotation or the annotation of hisax_init_pcmcia is wrong.

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Acked-by: Karsten Keil <keil@b1-systems.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/avma1_cs.c