powerpc_flash_init(), wtf!?

Sergei Shtylyov sshtylyov at ru.mvista.com
Fri May 4 02:59:18 EST 2007


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



More information about the Linuxppc-dev mailing list