ARM: stm32: use "depends on" instead of "if" after prompt
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Jul 2019 05:13:20 +0000 (14:13 +0900)
committerOlof Johansson <olof@lixom.net>
Tue, 16 Jul 2019 00:31:47 +0000 (17:31 -0700)
This appeared after the global fixups by commit e32465429490 ("ARM: use
"depends on" for SoC configs instead of "if" after prompt"). Fix it now.

Link: https://lore.kernel.org/r/20190710051320.8738-1-yamada.masahiro@socionext.com
Fixes: e32465429490 ("ARM: use "depends on" for SoC configs instead of "if" after prompt")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-stm32/Kconfig

index 36e6c68c0b57307ddc021b77a88ed55955447d4a..d1fe0c335ea7b173bcc5060b4d519924af4bc729 100644 (file)
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 menuconfig ARCH_STM32
-       bool "STMicroelectronics STM32 family" if ARM_SINGLE_ARMV7M || ARCH_MULTI_V7
+       bool "STMicroelectronics STM32 family"
+       depends on ARM_SINGLE_ARMV7M || ARCH_MULTI_V7
        select ARMV7M_SYSTICK if ARM_SINGLE_ARMV7M
        select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7
        select ARM_GIC if ARCH_MULTI_V7