Not always possible.
__init A() {
...
}
__exit B() {
...
}
C() {
...
A();
...
#ifdef MODULE
B();
#endif
...
}
C cannot be marked __init for #define MODULE case. Even if it is called only
by some __init code. I can imagine other similar situations.
However it is not your case probably.
-- ======================================================================= Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl phone (48)(58) 347 14 61 Faculty of Applied Phys. & Math., Gdansk University of Technology - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/