[U-Boot] [PATCH] lib: fdt: fix indent of #ifdef..#endif conditional
Simon Glass
sjg at chromium.org
Sun Aug 2 23:21:28 CEST 2015
On 1 August 2015 at 01:03, Masahiro Yamada
<yamada.masahiro at socionext.com> wrote:
> Match the depth of indentation between #ifdef and #endif
> for better readability.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
>
> lib/fdtdec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/fdtdec.c b/lib/fdtdec.c
> index a954051..48667ef 100644
> --- a/lib/fdtdec.c
> +++ b/lib/fdtdec.c
> @@ -1167,7 +1167,7 @@ int fdtdec_setup(void)
> # else
> /* FDT is at end of image */
> gd->fdt_blob = (ulong *)&_end;
> -#endif
> +# endif
> # elif defined(CONFIG_OF_HOSTFILE)
> if (sandbox_read_fdt_from_file()) {
> puts("Failed to read control FDT\n");
> --
> 1.9.1
>
Acked-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list