Commit de7ad66b authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Jiri Kosina
Browse files

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: 1fd41e5e ("HID: hid-appletb-bl: add driver for the backlight of Apple Touch Bars")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarAditya Garg <gargaditya08@live.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
parent 2a647d40
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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.