isdn: Cleanup Sections in PCMCIA driver elsa
authorHenne <henne@nachtwindheim.de>
Thu, 25 Mar 2010 12:05:32 +0000 (12:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Mar 2010 18:58:02 +0000 (11:58 -0700)
commitf61bb62e3ed7634fe5b7dfd8c9a52e6b799f4023
treeaf41a661ad4eaa768044437a72e95635da1172c4
parenta465870a808bccba63bf6da30a0b56a2a7abfa5c
isdn: Cleanup Sections in PCMCIA driver elsa

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