[PATCH 12/18] bootwrapper: Make ft_get_parent() return a phandle, and NULL if already top-level.

Segher Boessenkool segher at kernel.crashing.org
Wed Jan 31 06:56:10 EST 2007


> It also now returns NULL as the parent of the toplevel node, rather  
> than
> just returning the toplevel node again (which made it rather  
> useless in
> loops).

Great, that's how "real" OF handles this as well.  In
a similar vein, peer(0) should return the root node --
does it?


Segher




More information about the Linuxppc-dev mailing list