[PATCH 08/11] of: Merge of_node_get() and of_node_put()

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Nov 26 15:06:47 EST 2009


On Tue, 2009-11-24 at 01:19 -0700, Grant Likely wrote:

>  
> +#if !defined(CONFIG_SPARC)   /* SPARC doesn't do ref counting (yet) */
> +/**

Make this a Kconfig symbol, something like CONFIG_OF_DYNAMIC. You need
refcounting when you can add/remove nodes dynamically. Some embedded
archs might want the option to not enable that and save space.

Cheers,
Ben.




More information about the devicetree-discuss mailing list