Skip to content

Commit eb90ec2

Browse files
committed
HID: HID_APPLETB_KBD should depend on X86
JIRA: https://issues.redhat.com/browse/RHEL-101770 Upstream Status: 6.16-rc Tested: with the hid-tools test suite and some hardware commit 2a647d4 Author: Geert Uytterhoeven <geert+renesas@glider.be> Date: Thu Apr 10 10:30:56 2025 +0200 HID: HID_APPLETB_KBD should depend on X86 The Apple Touch Bar is only present on x86 MacBook Pros. Hence add a dependency on X86, to prevent asking the user about this driver when configuring a kernel for a different architecture. Fixes: 8e9b915 ("HID: hid-appletb-kbd: add driver for the keyboard mode of Apple Touch Bars") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Aditya Garg <gargaditya08@live.com> Signed-off-by: Jiri Kosina <jkosina@suse.com> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
1 parent a7f1682 commit eb90ec2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/hid/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ config HID_APPLETB_KBD
164164
depends on USB_HID
165165
depends on BACKLIGHT_CLASS_DEVICE
166166
depends on INPUT
167+
depends on X86 || COMPILE_TEST
167168
select INPUT_SPARSEKMAP
168169
select HID_APPLETB_BL
169170
help

0 commit comments

Comments
 (0)