[PATCH 2/6] powerpc/85xx: consolidate of_platform_bus_probe calls

Kumar Gala galak at kernel.crashing.org
Wed Nov 30 03:38:18 EST 2011


On Nov 29, 2011, at 10:20 AM, Timur Tabi wrote:

> Timur Tabi wrote:
> 
>> If I move the "fsl,eloplus-dma" into mpc85xx_common_ids[], then everything works.
>> 
>> I suspect there's some kind of state machine in of_platform_bus_probe() that allows it to find the DMA channel nodes if it's scanned everything else first.  I'm trying to debug it now.
> 
> So why do we need mpc85xx_common_ids[] at all?  Why can't of_platform_bus_probe() just scan the entire tree?

Ben would probably have to answer that.  I can't remember why he wanted it.  I'm sure he has a good reason.

- k


More information about the Linuxppc-dev mailing list