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

From
Grant Likely <hidden>
Date
2009-12-23 14:48:45
Also in
linux-devicetree, lkml
Reply to
Jeremy Kerr, 2009-12-23
On Tue, Dec 22, 2009 at 6:45 PM, Jeremy Kerr [off-list ref] 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 exposed to linux/of.h, due to the enforced #include
ordering).

Signed-off-by: Jeremy Kerr <redacted>
A little ugly, but it can probably be refactored and cleaned up later
(like a lot of other things in the merged code).  Otherwise these
three patches look good to me.  I've picked them up into my tree and
I'll push them out soon.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
Thread (5 messages) 5 messages, 2 authors, last reply 2009-12-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help