[grant.likely at secretlab.ca: Re: [PATCH] Add merging of labelled subnodes. This patch allows the following]

Jon Loeliger jdl at jdl.com
Tue Sep 21 00:49:03 EST 2010


> Done.  I think the testcase we have for it is not ideal, but that's
> easily fixed later.

Guys,

Any chance I can get a clean patch that has clean tabs
and doesn't have high-bit-set characters embedded in it?

Thanks!
jdl


> From: David Gibson <david at gibson.dropbear.id.au>
> 
> syntax:
> 
> / {
> =A0 =A0 =A0 =A0child {
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0label: subchild {
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0};
> =A0 =A0 =A0 =A0};
> };
> 
> &label {
> =A0 =A0 =A0 =A0prop =3D "value";
> };
> 
> which will result in the following tree:
> 
> / {
> =A0 =A0 =A0 =A0child {
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0label: subchild {
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0prop =3D "value";
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0};
> =A0 =A0 =A0 =A0};
> };
> 
> Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
> Signed-off-by: Grant Likely <grant.likely at secretlab.ca>


More information about the devicetree-discuss mailing list