isdn: Cleanup Sections in PCMCIA driver teles
commit158e33d1c6d0c6bacf577bcb47591aa4293dfcb1
authorHenne <henne@nachtwindheim.de>
Thu, 25 Mar 2010 12:05:30 +0000 (25 12:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Mar 2010 18:58:01 +0000 (25 11:58 -0700)
treeab42cbf86dc7e3019b84443948bd0cc1cf534aa9
parent93b39a0dba6a15c35a582b9e8b171b8a6ec971aa
isdn: Cleanup Sections in PCMCIA driver teles

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