Skip to content

Commit 03b9275

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

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
@@ -18,6 +18,7 @@ if ARM64_PLATFORM_DEVICES
1818

1919
config EC_ACER_ASPIRE1
2020
tristate "Acer Aspire 1 Embedded Controller driver"
21+
depends on ARCH_QCOM || COMPILE_TEST
2122
depends on I2C
2223
depends on DRM
2324
depends on POWER_SUPPLY

0 commit comments

Comments
 (0)