[U-Boot] [PATCH] udoo: neo: Fix indentation

Stefano Babic sbabic at denx.de
Mon Jan 2 17:56:50 CET 2017


On 02/01/2017 11:44, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at nxp.com>
> 
> The standard way is to put ifdef/endif in the very first column.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
> ---
>  board/udoo/neo/neo.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c
> index 688b522..288674a 100644
> --- a/board/udoo/neo/neo.c
> +++ b/board/udoo/neo/neo.c
> @@ -349,9 +349,9 @@ int board_init(void)
>  	/* Active high for ncp692 */
>  	gpio_direction_output(IMX_GPIO_NR(4, 16) , 1);
>  
> -	#ifdef CONFIG_SYS_I2C_MXC
> +#ifdef CONFIG_SYS_I2C_MXC
>  	setup_i2c(0, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1);
> -	#endif
> +#endif
>  
>  	return 0;
>  }
> 
Applied to u-boot-imx, -master, thanks !

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list