mirror of
https://github.com/torvalds/linux.git
synced 2026-05-21 13:27:57 +02:00
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: 8e9b9152cf ("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>
This commit is contained in:
parent
663704db95
commit
2a647d400a
|
|
@ -163,6 +163,7 @@ config HID_APPLETB_KBD
|
|||
depends on USB_HID
|
||||
depends on BACKLIGHT_CLASS_DEVICE
|
||||
depends on INPUT
|
||||
depends on X86 || COMPILE_TEST
|
||||
select INPUT_SPARSEKMAP
|
||||
select HID_APPLETB_BL
|
||||
help
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user