Commit:     1c53a496ba6132a37f052aa907e23445b3fe928c
Parent:     7c71c04625483c1da91846fd6746057d24ad6be8
Author:     Scott Wood <[EMAIL PROTECTED]>
AuthorDate: Mon Mar 12 14:41:44 2007 -0600
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Tue Mar 13 21:15:46 2007 +1100

    [POWERPC] bootwrapper: Rename ft_node_add() to ft_get_phandle().
    This name better reflects what the function does, which is to
    look up the phandle for an internal node pointer, and add it to the
    internal pointer to phandle table if not found.
    Signed-off-by: Scott Wood <[EMAIL PROTECTED]>
    Acked-by: Mark A. Greer <[EMAIL PROTECTED]>
    Acked-by: David Gibson <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 arch/powerpc/boot/flatdevtree.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/boot/flatdevtree.c b/arch/powerpc/boot/flatdevtree.c
index 02823a8..971420a 100644
--- a/arch/powerpc/boot/flatdevtree.c
+++ b/arch/powerpc/boot/flatdevtree.c
@@ -36,7 +36,7 @@ static char *ft_root_node(struct ft_cxt *cxt)
 /* Routines for keeping node ptrs returned by ft_find_device current */
 /* First entry not used b/c it would return 0 and be taken as NULL/error */
-static void *ft_node_add(struct ft_cxt *cxt, char *node)
+static void *ft_get_phandle(struct ft_cxt *cxt, char *node)
        unsigned int i;
@@ -642,7 +642,7 @@ void *ft_find_device(struct ft_cxt *cxt, const char 
        if (srch_path[0] != '/')
                return NULL;
        node = ft_find_descendent(cxt, ft_root_node(cxt), srch_path);
-       return ft_node_add(cxt, node);
+       return ft_get_phandle(cxt, node);
 void *ft_find_descendent(struct ft_cxt *cxt, void *top, const char *srch_path)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to