arm: cmd_stm32prog: Fix the CONFIG_IS_ENABLED() usage
authorBin Meng <bmeng.cn@gmail.com>
Wed, 8 Jul 2020 07:19:22 +0000 (00:19 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 9 Jul 2020 04:33:24 +0000 (12:33 +0800)
commit7d5de35b6f2f65ae882bab7deef279eda2b40c4a
treeabd64b0b15273fb68b930833fe78f963b3d9fd05
parent5a77d0939790e2967686982de4f9953188009da1
arm: cmd_stm32prog: Fix the CONFIG_IS_ENABLED() usage

Add parentheses around CONFIG_IS_ENABLED() in the if statement, to
fix potential build failures.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c