Re: powerpc_flash_init(), wtf!?

Sergei Shtylyov
2007-05-03T16:57:44Z

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