Skip to content

Commit de7ad66

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

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)