Skip to content

Commit 564dcfc

Browse files
WhatAmISupposedToPutHeredtor
authored andcommitted
Input: apple_z2 - fix potential confusion in Kconfig
Add a dependency on ARCH_APPLE and clarify the description to make it more obvious that this is for ARM machines, not x86 ones. Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com> Link: https://lore.kernel.org/r/20250225-z2-kconfig-v1-1-a67d9b778a6c@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent e71087e commit 564dcfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/input/touchscreen/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ config TOUCHSCREEN_ADC
106106
config TOUCHSCREEN_APPLE_Z2
107107
tristate "Apple Z2 touchscreens"
108108
default ARCH_APPLE
109-
depends on SPI
109+
depends on SPI && (ARCH_APPLE || COMPILE_TEST)
110110
help
111-
Say Y here if you have an Apple device with
111+
Say Y here if you have an ARM Apple device with
112112
a touchscreen or a touchbar.
113113

114114
If unsure, say N.

0 commit comments

Comments
 (0)