Skip to content

Commit a7f1682

Browse files
committed
HID: HID_APPLETB_BL 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 de7ad66 Author: Geert Uytterhoeven <geert+renesas@glider.be> Date: Thu Apr 10 10:30:57 2025 +0200 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: 1fd41e5 ("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> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
1 parent 3839ed3 commit a7f1682

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
@@ -151,6 +151,7 @@ config HID_APPLEIR
151151
config HID_APPLETB_BL
152152
tristate "Apple Touch Bar Backlight"
153153
depends on BACKLIGHT_CLASS_DEVICE
154+
depends on X86 || COMPILE_TEST
154155
help
155156
Say Y here if you want support for the backlight of Touch Bars on x86
156157
MacBook Pros.

0 commit comments

Comments
 (0)