Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: stm32: use "depends on" instead of "if" after prompt

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>

authored by

Masahiro Yamada and committed by
Olof Johansson
7e8a0f10 7cba7cac

+2 -1
+2 -1
arch/arm/mach-stm32/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 menuconfig ARCH_STM32 3 - bool "STMicroelectronics STM32 family" if ARM_SINGLE_ARMV7M || ARCH_MULTI_V7 3 + bool "STMicroelectronics STM32 family" 4 + depends on ARM_SINGLE_ARMV7M || ARCH_MULTI_V7 4 5 select ARMV7M_SYSTICK if ARM_SINGLE_ARMV7M 5 6 select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7 6 7 select ARM_GIC if ARCH_MULTI_V7