Subject: Re: powerpc_flash_init(), wtf!?

From: Sergei Shtylyov <[email-masked]>
Date: Thu, 03 May 2007 20:59:18 +0400

Hello.

Segher Boessenkool wrote:

>>     BTW, is it legal/appropriate to specify device (not bus) types for
>> of_platform_bus_probe()?

> In almost all cases you should probe on "name"/"compatible",

    Probing on name is not a good idea, since those are mostly generic.

> and not use "device_type" at all.

    Heh, SPARC device trees I saw seem to not have this "useless" prop at all. :-)

> Segher

WBR, Sergei