stm32mp1: board: protect the led function calls
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 30 Jul 2019 17:16:40 +0000 (19:16 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Tue, 27 Aug 2019 09:19:23 +0000 (11:19 +0200)
commit4616ff425cac4b374ef16711a145a4d8db6e3173
tree66a79711ee6e88debc8ebc29ff8b5d2aba7381eb
parentdd2810851eb1d7a31b13961ef55b50cedf4b340b
stm32mp1: board: protect the led function calls

Avoid compilation issue when CONFIG_LED is not activated

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
board/st/stm32mp1/stm32mp1.c