From: Geert Uytterhoeven Date: Thu, 11 Jul 2024 14:32:35 +0000 (+0200) Subject: platform: arm64: EC_LENOVO_YOGA_C630 should depend on ARCH_QCOM X-Git-Tag: v6.11-rc1~150^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1e02e317470b1c68d5971e51e8c62967ec1bc828;p=thirdparty%2Fkernel%2Flinux.git platform: arm64: EC_LENOVO_YOGA_C630 should depend on ARCH_QCOM The Lenovo Yoga C630 Embedded Controller is only present on the Qualcomm Snapdragon-based Lenovo Yoga C630 laptop. Hence add a dependency on ARCH_QCOM, to prevent asking the user about this driver when configuring a kernel without Qualcomm SoC support. Signed-off-by: Geert Uytterhoeven Reviewed-by: Hans de Goede Link: https://lore.kernel.org/r/0e4c9ffdc8a5caffcda2afb8d5480900f7adebf6.1720707932.git.geert+renesas@glider.be Reviewed-by: Ilpo Järvinen Signed-off-by: Ilpo Järvinen --- diff --git a/drivers/platform/arm64/Kconfig b/drivers/platform/arm64/Kconfig index e83c35a6745cb..f88395ea33761 100644 --- a/drivers/platform/arm64/Kconfig +++ b/drivers/platform/arm64/Kconfig @@ -35,6 +35,7 @@ config EC_ACER_ASPIRE1 config EC_LENOVO_YOGA_C630 tristate "Lenovo Yoga C630 Embedded Controller driver" + depends on ARCH_QCOM || COMPILE_TEST depends on I2C select AUXILIARY_BUS help