diff options
author | 2025-04-10 10:30:56 +0200 | |
---|---|---|
committer | 2025-04-24 12:32:02 +0200 | |
commit | 2a647d400afecdf12ba5905424e1337fbc2d6750 (patch) | |
tree | f1ee69f972b37fb56fdf66160c0cf350788427fe /drivers/hid | |
parent | HID: appletb-kbd: Use secs_to_jiffies() instead of msecs_to_jiffies() (diff) | |
download | linux-rng-2a647d400afecdf12ba5905424e1337fbc2d6750.tar.xz linux-rng-2a647d400afecdf12ba5905424e1337fbc2d6750.zip |
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: 8e9b9152cfbdc2a9 ("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>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index a503252702b7..119e5190a2df 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -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 |