提交 71ba2cb0 编写于 作者: P Patrick Delaunay 提交者: Patrice Chotard

board: stm32mp1: correct CONFIG_IS_ENABLED usage for LED

Use the correct macro to test presence CONFIG_LED:
replace CONFIG_IS_ENABLED(CONFIG_LED) by CONFIG_IS_ENABLED(LED)

Issue see during review unrelated patch
"board: stm32mp1: update management of boot-led"
http://patchwork.ozlabs.org/patch/1264823/

Cc: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: NMarek Vasut <marex@denx.de>
Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
上级 c5f3c63f
......@@ -450,7 +450,7 @@ int board_init(void)
board_init_fmc2();
if (CONFIG_IS_ENABLED(CONFIG_LED))
if (CONFIG_IS_ENABLED(LED))
led_default_state();
return 0;
......
......@@ -647,7 +647,7 @@ int board_init(void)
sysconf_init();
if (CONFIG_IS_ENABLED(CONFIG_LED))
if (CONFIG_IS_ENABLED(LED))
led_default_state();
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册