[PATCH v2] mtd: omap: fix mtd devices not showing up

Ezequiel Garcia ezequiel at vanguardiasur.com.ar
Wed Oct 29 06:34:57 PDT 2014



On 10/29/2014 10:33 AM, Roger Quadros wrote:
> On 10/29/2014 01:36 PM, Frans Klaver wrote:
>> On Tue, Oct 28, 2014 at 11:46:57AM +0200, Roger Quadros wrote:
>>> On 10/27/2014 04:34 PM, Frans Klaver wrote:
>>>> Since commit 6d178ef2fd5e ("mtd: nand: Move ELM driver and rename as
>>>> omap_elm"), I don't have any mtd devices present on my am335x. This
>>>> changes the link order of the omap_elm and omap2 objects, causing them
>>>> to probe in the wrong order.
>>>>
>>>> To fix this, make elm_config defer probing until the omap_elm driver is
>>>> actually loaded.
>>>>
>>>> Signed-off-by: Frans Klaver <frans.klaver at xsens.com>
>>>
>>> Acked-by: Roger Quadros <rogerq at ti.com>
>>
>> Thanks. How about Ezequiel's remark about doing both changes?
> 
> I don't have any strong feeling for or against it. We shouldn't be depending on module load order anyways.
> 

Agreed, feel free to disregard my suggestion.

-- 
Ezequiel Garcia, VanguardiaSur
www.vanguardiasur.com.ar

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20141029/da8104eb/attachment.sig>


More information about the linux-mtd mailing list