Skip to content

Commit 2a647d4

Browse files
geertuJiri Kosina
authored andcommitted
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>
1 parent 663704d commit 2a647d4

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
@@ -163,6 +163,7 @@ config HID_APPLETB_KBD
163163
depends on USB_HID
164164
depends on BACKLIGHT_CLASS_DEVICE
165165
depends on INPUT
166+
depends on X86 || COMPILE_TEST
166167
select INPUT_SPARSEKMAP
167168
select HID_APPLETB_BL
168169
help

0 commit comments

Comments
 (0)