From: Sasha Finkelstein via B4 Relay <devnull+fnkl.kernel.gmail.com@kernel.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
asahi@lists.linux.dev, Sasha Finkelstein <fnkl.kernel@gmail.com>
Subject: [PATCH] input: apple_z2: Fix potential confusion in KConfig
Date: Tue, 25 Feb 2025 08:48:24 +0100 [thread overview]
Message-ID: <20250225-z2-kconfig-v1-1-a67d9b778a6c@gmail.com> (raw)
From: Sasha Finkelstein <fnkl.kernel@gmail.com>
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>
---
drivers/input/touchscreen/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 6c885cc58f323b3628538d41460248f8ab1dbf7d..91a2b584dab1469a3c907c0f1accfa10c4c4a3ca 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.
---
base-commit: 9995b98a4b2a704fa6744d2bee9c5d50b2c33836
change-id: 20250225-z2-kconfig-6f7a47fbbd7c
next reply other threads:[~2025-02-25 7:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-25 7:48 Sasha Finkelstein via B4 Relay [this message]
2025-02-25 19:27 ` [PATCH] input: apple_z2: Fix potential confusion in KConfig Dmitry Torokhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250225-z2-kconfig-v1-1-a67d9b778a6c@gmail.com \
--to=devnull+fnkl.kernel.gmail.com@kernel.org \
--cc=asahi@lists.linux.dev \
--cc=dmitry.torokhov@gmail.com \
--cc=fnkl.kernel@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).