]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
fdt: Fix typo in variable name.
authorDetlev Zundel <dzu@denx.de>
Fri, 20 Jun 2008 20:24:05 +0000 (22:24 +0200)
committerDetlev Zundel <dzu@denx.de>
Fri, 20 Jun 2008 20:24:05 +0000 (22:24 +0200)
Signed-off-by: Detlev Zundel <dzu@denx.de>
common/fdt_support.c

index e58b294ee58835d302e5decd8d319d9b4595ff27..382822820455b5333123b1dd1e931015f27dc0bd 100644 (file)
@@ -63,7 +63,7 @@ int fdt_find_and_setprop(void *fdt, const char *node, const char *prop,
 }
 
 #ifdef CONFIG_OF_STDOUT_VIA_ALIAS
-static int fdt_fixup_stdout(void *fdt, int choosenoff)
+static int fdt_fixup_stdout(void *fdt, int chosenoff)
 {
        int err = 0;
 #ifdef CONFIG_CONS_INDEX
@@ -82,7 +82,7 @@ static int fdt_fixup_stdout(void *fdt, int choosenoff)
                        err = -FDT_ERR_NOSPACE;
                        if (p) {
                                memcpy(p, path, len);
-                               err = fdt_setprop(fdt, choosenoff,
+                               err = fdt_setprop(fdt, chosenoff,
                                        "linux,stdout-path", p, len);
                                free(p);
                        }