Re: section mismatch with a platform driver

From: Neshama Parhoti
Date: Mon Oct 13 2008 - 14:58:54 EST


On Mon, Oct 13, 2008 at 6:31 PM, Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:
>> Does that mean that all drivers with __init in their probe functions are bogus ?
>
> It depends. If your platform doesn't support hotplug, then it's possible
> that the probe function is only called during system init, so it would be OK.

Hmm any idea then why did it give me a section mismatch warning ?

Thanks!!
--
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/