diff options
author | Scott Wood <scottwood@freescale.com> | 2007-09-05 15:21:12 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-09-13 11:33:23 -0400 |
commit | 21f3fe2f7ab57832ea1fc7f719ec7e167b7ad80e (patch) | |
tree | 5a3bf3c623fb858d61ca7effd9b1f8bd8b5e714f /arch/powerpc/boot/flatdevtree.h | |
parent | 9de782770b84768e1aa2e6454223ef30768de84e (diff) |
[POWERPC] bootwrapper: Add get_path()
This will be used by the PlanetCore firmware support to construct
a linux,stdout-path from the serial node that it finds.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/flatdevtree.h')
-rw-r--r-- | arch/powerpc/boot/flatdevtree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/boot/flatdevtree.h b/arch/powerpc/boot/flatdevtree.h index 2c1c826c4eca..b0957a2d967f 100644 --- a/arch/powerpc/boot/flatdevtree.h +++ b/arch/powerpc/boot/flatdevtree.h | |||
@@ -108,5 +108,6 @@ void *ft_find_node_by_prop_value(struct ft_cxt *cxt, const void *prev, | |||
108 | const char *propname, const char *propval, | 108 | const char *propname, const char *propval, |
109 | int proplen); | 109 | int proplen); |
110 | void *ft_create_node(struct ft_cxt *cxt, const void *parent, const char *name); | 110 | void *ft_create_node(struct ft_cxt *cxt, const void *parent, const char *name); |
111 | char *ft_get_path(struct ft_cxt *cxt, const void *phandle, char *buf, int len); | ||
111 | 112 | ||
112 | #endif /* FLATDEVTREE_H */ | 113 | #endif /* FLATDEVTREE_H */ |