Skip to content
Snippets Groups Projects
Commit 5981ebd3 authored by Detlev Zundel's avatar Detlev Zundel Committed by Wolfgang Denk
Browse files

fdt: Fix typo in variable name.


Signed-off-by: default avatarDetlev Zundel <dzu@denx.de>
parent a7a5982c
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ int fdt_find_and_setprop(void *fdt, const char *node, const char *prop, ...@@ -63,7 +63,7 @@ int fdt_find_and_setprop(void *fdt, const char *node, const char *prop,
} }
#ifdef CONFIG_OF_STDOUT_VIA_ALIAS #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; int err = 0;
#ifdef CONFIG_CONS_INDEX #ifdef CONFIG_CONS_INDEX
...@@ -82,7 +82,7 @@ static int fdt_fixup_stdout(void *fdt, int choosenoff) ...@@ -82,7 +82,7 @@ static int fdt_fixup_stdout(void *fdt, int choosenoff)
err = -FDT_ERR_NOSPACE; err = -FDT_ERR_NOSPACE;
if (p) { if (p) {
memcpy(p, path, len); memcpy(p, path, len);
err = fdt_setprop(fdt, choosenoff, err = fdt_setprop(fdt, chosenoff,
"linux,stdout-path", p, len); "linux,stdout-path", p, len);
free(p); free(p);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment