Re: section mismatch with a platform driver

From: Neshama Parhoti
Date: Mon Oct 13 2008 - 12:29:26 EST


On Mon, Oct 13, 2008 at 6:01 PM, Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:
> A probe function can be called at any time -- i.e., after system init
> has completed, so discarding the __init function my_probe_func() is BAD,
> dangerous, BUGgy.

Thanks for the explanation!

Does that mean that all drivers with __init in their probe functions are bogus ?

>
> ---
> ~Randy
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/