[U-Boot-Users] [PATCH] fdt: Fix typo in variable name.

Jerry Van Baren gvb.uboot at gmail.com
Sun Jun 22 19:09:15 CEST 2008


Detlev Zundel wrote:
> Signed-off-by: Detlev Zundel <dzu at denx.de>
> ---
>  common/fdt_support.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/common/fdt_support.c b/common/fdt_support.c
> index e58b294..3828228 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);
>  			}

Dear Wolfgang,

Could you apply this directly?  I'm on vacation this week and I would 
appreciate the help.

Thanks,
gvb

Currently at Tower Marine, Douglas, MI, USofA :-)
<http://maps.google.com/maps?f=q&hl=en&geocode=&q=tower+marine,+douglas+michigan&ie=UTF8&ll=42.650501,-86.198988&spn=0.028029,0.068579&t=h&z=14>




More information about the U-Boot mailing list