diff options
author | 2025-04-10 10:30:57 +0200 | |
---|---|---|
committer | 2025-04-24 12:32:02 +0200 | |
commit | de7ad66b16b4d397593eafbbb09e9557b558a7e3 (patch) | |
tree | 35f0bef5fedf12217581cdef21e49ceacaff5d92 /drivers/hid | |
parent | HID: HID_APPLETB_KBD should depend on X86 (diff) | |
download | linux-rng-de7ad66b16b4d397593eafbbb09e9557b558a7e3.tar.xz linux-rng-de7ad66b16b4d397593eafbbb09e9557b558a7e3.zip |
HID: HID_APPLETB_BL 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: 1fd41e5e3d7cc556 ("HID: hid-appletb-bl: add driver for the backlight 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 119e5190a2df..43859fc75747 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -151,6 +151,7 @@ config HID_APPLEIR config HID_APPLETB_BL tristate "Apple Touch Bar Backlight" depends on BACKLIGHT_CLASS_DEVICE + depends on X86 || COMPILE_TEST help Say Y here if you want support for the backlight of Touch Bars on x86 MacBook Pros. |