From: Detlev Zundel Date: Fri, 20 Jun 2008 20:24:05 +0000 (+0200) Subject: fdt: Fix typo in variable name. X-Git-Tag: v1.3.4-rc1~92 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=40777812316fc252c941665c0f60c148fd79d50f;p=u-boot fdt: Fix typo in variable name. Signed-off-by: Detlev Zundel --- diff --git a/common/fdt_support.c b/common/fdt_support.c index e58b294ee5..3828228204 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -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); }