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

2009-11-25 Thread Benjamin Herrenschmidt
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

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

2009-11-24 Thread Grant Likely
Merge common code between PowerPC and MicroBlaze Signed-off-by: Grant Likely --- arch/microblaze/kernel/prom.c | 74 arch/powerpc/kernel/prom.c| 73 drivers/of/base.c | 75 +++