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 <geert+renesas@glider.be>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/0e4c9ffdc8a5caffcda2afb8d5480900f7adebf6.1720707932.git.geert+renesas@glider.be
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This commit is contained in:
Geert Uytterhoeven 2024-07-11 16:32:35 +02:00 committed by Ilpo Järvinen
parent 03b9275650
commit 1e02e31747
No known key found for this signature in database
GPG Key ID: 59AC4F6153E5CE31

View File

@ -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