powerpc_flash_init(), wtf!?

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri May 4 07:37:53 EST 2007


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.





More information about the Linuxppc-dev mailing list