From: Greg Kroah-Hartman Date: Fri, 3 Dec 2021 07:59:27 +0000 (+0100) Subject: HID: add USB_HID dependancy to hid-chicony X-Git-Tag: v4.4.295~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=555b8ab3994d247baa4b6c59019af741e15002e1;p=thirdparty%2Fkernel%2Fstable.git HID: add USB_HID dependancy to hid-chicony commit d080811f27936f712f619f847389f403ac873b8f upstream. The chicony HID driver only controls USB devices, yet did not have a dependancy on USB_HID. This causes build errors on some configurations like sparc when building due to new changes to the chicony driver. Reported-by: Stephen Rothwell Cc: stable@vger.kernel.org Cc: Jiri Kosina Cc: Benjamin Tissoires Signed-off-by: Greg Kroah-Hartman Signed-off-by: Benjamin Tissoires Link: https://lore.kernel.org/r/20211203075927.2829218-1-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 2dae2a2348f9f..3bd2a162f9248 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -166,7 +166,7 @@ config HID_CHERRY config HID_CHICONY tristate "Chicony devices" - depends on HID + depends on USB_HID default !EXPERT ---help--- Support for Chicony Tactical pad and special keys on Chicony keyboards.