[U-Boot] [PATCH] udoo: neo: Fix indentation
Fabio Estevam
festevam at gmail.com
Mon Jan 2 11:44:04 CET 2017
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;
}
--
2.7.4
More information about the U-Boot
mailing list