From: Anders Roxell Date: Tue, 15 Jan 2019 19:18:39 +0000 (+0100) Subject: arm64: Kconfig.platforms: fix warning unmet direct dependencies X-Git-Tag: v5.4-rc1~1447^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a29c78234942fcfba2c5c305adc85b64332f9a95;p=platform%2Fkernel%2Flinux-rpi.git arm64: Kconfig.platforms: fix warning unmet direct dependencies When ARCH_MXC get enabled, ARM64_ERRATUM_845719 will be selected and this warning will happen when COMPAT isn't set. WARNING: unmet direct dependencies detected for ARM64_ERRATUM_845719 Depends on [n]: COMPAT [=n] Selected by [y]: - ARCH_MXC [=y] Rework to add 'if COMPAT' before ARM64_ERRATUM_845719 gets selected, since ARM64_ERRATUM_845719 depends on COMPAT. Acked-by: Will Deacon Signed-off-by: Anders Roxell Signed-off-by: Catalin Marinas --- diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 251ecf3..d4faca7 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -145,7 +145,7 @@ config ARCH_MVEBU config ARCH_MXC bool "ARMv8 based NXP i.MX SoC family" select ARM64_ERRATUM_843419 - select ARM64_ERRATUM_845719 + select ARM64_ERRATUM_845719 if COMPAT help This enables support for the ARMv8 based SoCs in the NXP i.MX family.