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: MMI-RSBS31.Q1-48-36-26~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cdbc0c540a635920b84bae95527bbfc37b52c6d4;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 l(CR) sparc when building due to new changes to the chicony driver. Mot-CRs-fixed: (CR) CVE-Fixed: CVE-2022-20132 Bug: 188677105 Change-Id: I789a6d118fb1fa96cbab1518831b9be670a7a509 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 Signed-off-by: Gajjala Chakradhar Reviewed-on: https://gerrit.mot.com/2276108 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 4d588392fdb0..33ac49beddc7 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -191,7 +191,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.