board: stm32mp1: use IS_ENABLED to prevent ifdef in dk2_i2c1_fix
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 31 Jul 2020 14:31:47 +0000 (16:31 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Thu, 13 Aug 2020 07:52:49 +0000 (09:52 +0200)
commite817c8eca5a25762f44adf3871bae13af39215d4
tree41e4bb609f57a331dfb1605225d6787a55ef42bf
parent75f9b190e4086d683ccde5cffe2144437d7501c5
board: stm32mp1: use IS_ENABLED to prevent ifdef in dk2_i2c1_fix

Use IS_ENABLED to prevent ifdef in dk2_i2c1_fix.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
board/st/stm32mp1/stm32mp1.c