[PATCH 05/11] of/flattree: merge of_get_flat_dt_prop
Wolfram Sang
w.sang at pengutronix.de
Thu Nov 5 19:49:45 EST 2009
On Thu, Nov 05, 2009 at 12:46:13AM -0700, Grant Likely wrote:
> Merge common code between PowerPC and Microblaze
>
> Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
nanodoc comment again
> diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
> index a6e869e..7a51343 100644
> --- a/drivers/of/fdt.c
> +++ b/drivers/of/fdt.c
> @@ -100,3 +100,46 @@ unsigned long __init of_get_flat_dt_root(void)
> return _ALIGN(p + strlen((char *)p) + 1, 4);
> }
>
> +/**
> + * of_get_flat_dt_prop - Given a node in the flat blob, return the property pointer
> + *
> + * This function can be used within scan_flattened_dt callback to get
double space
> + * access to properties
> + */
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20091105/56895fe1/attachment.pgp>
More information about the devicetree-discuss
mailing list