On Fri, 22 Mar 2013, Arnd Bergmann wrote: > On Friday 22 March 2013, Lee Jones wrote: > > /* automatically probe child nodes of db8500 device */ > > of_platform_populate(NULL, u8500_local_bus_nodes, > > u8500_auxdata_lookup, parent); > > + > > + if (of_machine_is_compatible("st-ericsson,u8540")) > > + of_platform_populate(NULL, u8500_local_bus_nodes, > > + u8540_auxdata_uart_lookup, parent); > > + else > > + of_platform_populate(NULL, u8500_local_bus_nodes, > > + u8500_auxdata_uart_lookup, parent); > > } > > > > Does this still work on u8500? I did not think you could call > of_platform_populate twice on the root node and still get the result > you want.
I haven't checked. I'll look into the inner workings of of_platform_populate() on Monday. Thanks for the pointer. -- Lee Jones Linaro ST-Ericsson Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/