[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48F39AE2.5040905@oracle.com>
Date: Mon, 13 Oct 2008 12:00:50 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Neshama Parhoti <pneshama@...il.com>
CC: Adrian Bunk <bunk@...nel.org>, linux-kernel@...r.kernel.org
Subject: Re: section mismatch with a platform driver
Neshama Parhoti wrote:
> On Mon, Oct 13, 2008 at 6:31 PM, Randy Dunlap <randy.dunlap@...cle.com> 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 ?
Just because the probe function is marked __init.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists