From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 527DAC433EF for ; Mon, 13 Dec 2021 09:44:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235602AbhLMJod (ORCPT ); Mon, 13 Dec 2021 04:44:33 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:55816 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236044AbhLMJmr (ORCPT ); Mon, 13 Dec 2021 04:42:47 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 94FFDB80CAB; Mon, 13 Dec 2021 09:42:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3C1CC00446; Mon, 13 Dec 2021 09:42:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1639388565; bh=ZpwtapzWO29sefySWMzngw+JAJvNCuWs3vtmOgku8fg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KAtF4yU2n63vL3kqVO1uqQmV5JTw4NIFqL6AGD2kVvS/H5I7nOtco1MvNno6kB6XK iTSHv4itZoOg+HZ2WrOVGirApas6GVgVoBUcoOjcNZ1Si6MoHGO1P4B5hR5KL7JDZI rfiOeSTq5bZZi4HamM/jyy3tMLfLk5H5CrHXiESc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stephen Rothwell , Jiri Kosina , Benjamin Tissoires Subject: [PATCH 5.4 07/88] HID: add USB_HID dependancy to hid-chicony Date: Mon, 13 Dec 2021 10:29:37 +0100 Message-Id: <20211213092933.489538477@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211213092933.250314515@linuxfoundation.org> References: <20211213092933.250314515@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Greg Kroah-Hartman 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 --- drivers/hid/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -206,7 +206,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.