summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/input/touchscreen/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 6c885cc58f32..91a2b584dab1 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -106,9 +106,9 @@ config TOUCHSCREEN_ADC
config TOUCHSCREEN_APPLE_Z2
tristate "Apple Z2 touchscreens"
default ARCH_APPLE
- depends on SPI
+ depends on SPI && (ARCH_APPLE || COMPILE_TEST)
help
- Say Y here if you have an Apple device with
+ Say Y here if you have an ARM Apple device with
a touchscreen or a touchbar.
If unsure, say N.