]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform: arm64: EC_LENOVO_YOGA_C630 should depend on ARCH_QCOM
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 11 Jul 2024 14:32:35 +0000 (16:32 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 12 Jul 2024 08:59:53 +0000 (11:59 +0300)
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>
drivers/platform/arm64/Kconfig

index e83c35a6745cbef1e0102ed316416544e00d8de2..f88395ea337616dafa81c911c782663277959fc4 100644 (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