[PATCH V2 2/3] powerpc/83xx: consolidate of_platform_bus_probe calls

Scott Wood scottwood at freescale.com
Sat Jul 23 06:37:27 EST 2011


On Fri, 22 Jul 2011 23:55:43 +0400
Dmitry Eremin-Solenikov <dbaryshkov at gmail.com> wrote:

> 83xx board files have a lot of duplication in
> *_declare_of_platform_devices() functions. Merge that into a single
> function common to most of the boards.
> 
> The only leftover is mpc834x_itx.c board file which explicitly asks for
> fsl,pq2pro-localbus, as corresponding bindings don't provide
> "simple-bus" compatibility in localbus node.

What if simple-bus is added to that board's device tree in the future?
Won't we end up probing it twice?

-Scott



More information about the Linuxppc-dev mailing list