Re: [PATCH 2/3] of: make set_node_proc_entry private to proc_devtree.c

2009-12-23 Thread Grant Likely
On Tue, Dec 22, 2009 at 6:45 PM, Jeremy Kerr wrote: > We only need set_node_proc_entry in proc_devtree.c, so move it there. > > This fixes the !HAVE_ARCH_DEVTREE_FIXUPS build, as we can't make make > the definition in linux/of.h conditional on this #define (definitions in > asm/prom.h can't be exp

[PATCH 2/3] of: make set_node_proc_entry private to proc_devtree.c

2009-12-22 Thread Jeremy Kerr
We only need set_node_proc_entry in proc_devtree.c, so move it there. This fixes the !HAVE_ARCH_DEVTREE_FIXUPS build, as we can't make make the definition in linux/of.h conditional on this #define (definitions in asm/prom.h can't be exposed to linux/of.h, due to the enforced #include ordering). S