]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Input: apple_z2 - fix potential confusion in Kconfig
authorSasha Finkelstein <fnkl.kernel@gmail.com>
Tue, 25 Feb 2025 07:48:24 +0000 (08:48 +0100)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 25 Feb 2025 19:23:20 +0000 (11:23 -0800)
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>
drivers/input/touchscreen/Kconfig

index 6c885cc58f323b3628538d41460248f8ab1dbf7d..91a2b584dab1469a3c907c0f1accfa10c4c4a3ca 100644 (file)
@@ -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.