From: Geert Uytterhoeven Date: Thu, 10 Apr 2025 08:30:56 +0000 (+0200) Subject: HID: HID_APPLETB_KBD should depend on X86 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=2a647d400afecdf12ba5905424e1337fbc2d6750;p=linux-2.6-microblaze.git 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 Reviewed-by: Aditya Garg Signed-off-by: Jiri Kosina --- 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