Skip to content

Commit 1e02e31

Browse files
geertuij-intel
authored andcommitted
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 <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/0e4c9ffdc8a5caffcda2afb8d5480900f7adebf6.1720707932.git.geert+renesas@glider.be Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent 03b9275 commit 1e02e31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/platform/arm64/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ config EC_ACER_ASPIRE1
3535

3636
config EC_LENOVO_YOGA_C630
3737
tristate "Lenovo Yoga C630 Embedded Controller driver"
38+
depends on ARCH_QCOM || COMPILE_TEST
3839
depends on I2C
3940
select AUXILIARY_BUS
4041
help

0 commit comments

Comments
 (0)