From: Geert Uytterhoeven Date: Thu, 11 Jul 2024 14:30:36 +0000 (+0200) Subject: platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM X-Git-Tag: v6.11-rc1~150^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=03b927565057dae39da3e4b46e5ab65274b5dcdc;p=thirdparty%2Fkernel%2Flinux.git platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM The Acer Aspire 1 Embedded Controller is only present on the Qualcomm Snapdragon-based Acer Aspire 1 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 Acked-by: Nikita Travkin Link: https://lore.kernel.org/r/f5f38709c01d369ed9e375ceb2a9a12986457a1a.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 e612cbe06aec4..e83c35a6745cb 100644 --- a/drivers/platform/arm64/Kconfig +++ b/drivers/platform/arm64/Kconfig @@ -18,6 +18,7 @@ if ARM64_PLATFORM_DEVICES config EC_ACER_ASPIRE1 tristate "Acer Aspire 1 Embedded Controller driver" + depends on ARCH_QCOM || COMPILE_TEST depends on I2C depends on DRM depends on POWER_SUPPLY