isdn: Cleanup Sections in PCMCIA driver sedlbauer
authorHenne <henne@nachtwindheim.de>
Thu, 25 Mar 2010 12:05:29 +0000 (12:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Mar 2010 18:58:00 +0000 (11:58 -0700)
commit93b39a0dba6a15c35a582b9e8b171b8a6ec971aa
treed21187851723750b26ac8848bd1ce1494e13d482
parentbcbe53682f65330bdd9ad7eed9575d2ff536353a
isdn: Cleanup Sections in PCMCIA driver sedlbauer

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+0x558d6): Section mismatch
in reference from the function sedlbauer_config() to the function
.devinit.text:hisax_init_pcmcia()
The function sedlbauer_config() references
the function __devinit hisax_init_pcmcia().
This is often because sedlbauer_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/sedlbauer_cs.c