Re: powerpc_flash_init(), wtf!?

Benjamin Herrenschmidt
2007-05-03T21:37:53Z

On Thu, 2007-05-03 at 18:21 +0200, 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",
> and not use "device_type" at all.

of_platform_bus_probe() is for busses anyway.

Ben.