Message ID | 20221104201238.31628-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp617521wru; Fri, 4 Nov 2022 13:17:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM48w7nkWxRIr5CtfEo1BN3m3oEV8j09Eoi1MUK6vTCL8tN5BxuhmaMdwylwyl7gTaDRhXAl X-Received: by 2002:aa7:ce09:0:b0:461:5406:20e4 with SMTP id d9-20020aa7ce09000000b00461540620e4mr37861154edv.5.1667593037546; Fri, 04 Nov 2022 13:17:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667593037; cv=none; d=google.com; s=arc-20160816; b=0cxRC/KSgyrgZnEKtNSQDJqK5xRvfFgN8QbIFbHEGlIXFYUR3vBw+ZHr+nOP8MoSUj ExDd4CGg/pW1SiQ0t4OskiA/GRlLOXlzUfNcZdcj3vFZI1HBn4lSf4JwQJwb1U8ohmnl TKNZhLcCiyAMT/jT5yN2Uqj2oG8UjF6QqfaRWNNN7lq5pUQj4MEtYFPKnN9gqwr8Inmn jbGI9iD2pg9YYKpr0F47mKpkAZo7f3cfVLNu65bNMND/00HzSXOZDK4x5evPbyCvELRF 0rd6QopdCgRDLP7o0MdYLD9Ml0HKgcP3rMQkbwF1nimWlwCalZodsKFwCGslhGgHtQaR xfAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=kaPTClNPEmFEytPts+Xev/fPtAp5vUFNC52w26Gma5E=; b=gRAnaqweDVFFsoXDE1GN9U6IiESa+l0nUrBSmV303UxnoguA9FTvwKZS4sP2baqZZR kNdKcWusHCJAOaM0hj+oksJbX5u8VH9bbH/MuH6Gevw7ELeoTiQSBZmQ6x99BcWhLcUT mwrrN1lPZT2RxMOu4s0KLFxMS0S+FRRL9UqXK1MjpbAPtT7p1l6fqFdq1NDcwKSvLkF3 Hz8uXlix3OIznK3Ia1k7hdi73QPVPxAnIMCOmtTePJihFBOT3Dd5aiAniV5p9LRAZe3T wb80RgdT7xuDxRzOPvEOb6W+4lPogE2t2wARPhqji4ENDOxfr8xnNH3IWn/cN0/aHTOT cOsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=sHtTCJfS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sb9-20020a1709076d8900b007ae30b550e5si3674389ejc.854.2022.11.04.13.16.54; Fri, 04 Nov 2022 13:17:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=sHtTCJfS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229835AbiKDUMu (ORCPT <rfc822;hjfbswb@gmail.com> + 99 others); Fri, 4 Nov 2022 16:12:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229540AbiKDUMt (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 4 Nov 2022 16:12:49 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB6E72C66E; Fri, 4 Nov 2022 13:12:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=kaPTClNPEmFEytPts+Xev/fPtAp5vUFNC52w26Gma5E=; b=sHtTCJfSRMFnnX6gmSmuGISc5Q NlCQkuSFQAYT5n6OuRbayMx3ZdId54XLkYxluzgKseZyhzWyMDo9vrt/859Rq93RgXBBAqe7K4tF7 hbnLp5KXI7iXa7pwjmX4F4apIVjiq45mztC5BQV4hBay5qd1P/CuHb5cfwdO4Sgsx6cqAsDph2T/2 3zQsae+IsivTibRTrkiVS+sEVrTaMcYhtRoWR5hv3ebMiZx26aHp1DThLoNa8mLHzPa1Ez67XB613 pbrCcoEJl7Lv0LVSDzA0JW1S6cNc4VJGTnp/+5nwOXDWWyGJR2kR7wkVMUQEfoBJD86gtla1fDNHj 4bdaI4Qg==; Received: from [2601:1c2:d80:3110::a2e7] (helo=casper.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1or33Y-007dUQ-F9; Fri, 04 Nov 2022 20:12:48 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, kernel test robot <lkp@intel.com>, Artur Rojek <contact@artur-rojek.eu>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-input@vger.kernel.org, Paul Gazzillo <paul@pgazz.com>, Necip Fazil Yildiran <fazilyildiran@gmail.com> Subject: [PATCH] Input: joystick - fix Kconfig warning for JOYSTICK_ADC Date: Fri, 4 Nov 2022 13:12:38 -0700 Message-Id: <20221104201238.31628-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748598037138509997?= X-GMAIL-MSGID: =?utf-8?q?1748598037138509997?= |
Series |
Input: joystick - fix Kconfig warning for JOYSTICK_ADC
|
|
Commit Message
Randy Dunlap
Nov. 4, 2022, 8:12 p.m. UTC
Fix a Kconfig warning for JOYSTICK_ADC by also selecting
IIO_BUFFER.
WARNING: unmet direct dependencies detected for IIO_BUFFER_CB
Depends on [n]: IIO [=y] && IIO_BUFFER [=n]
Selected by [y]:
- JOYSTICK_ADC [=y] && INPUT [=y] && INPUT_JOYSTICK [=y] && IIO [=y]
Fixes: 2c2b364fddd5 ("Input: joystick - add ADC attached joystick driver.")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Artur Rojek <contact@artur-rojek.eu>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org
Cc: Paul Gazzillo <paul@pgazz.com>
Cc: Necip Fazil Yildiran <fazilyildiran@gmail.com>
---
drivers/input/joystick/Kconfig | 1 +
1 file changed, 1 insertion(+)
Comments
On Fri, Nov 04, 2022 at 01:12:38PM -0700, Randy Dunlap wrote: > Fix a Kconfig warning for JOYSTICK_ADC by also selecting > IIO_BUFFER. > > WARNING: unmet direct dependencies detected for IIO_BUFFER_CB > Depends on [n]: IIO [=y] && IIO_BUFFER [=n] > Selected by [y]: > - JOYSTICK_ADC [=y] && INPUT [=y] && INPUT_JOYSTICK [=y] && IIO [=y] > > Fixes: 2c2b364fddd5 ("Input: joystick - add ADC attached joystick driver.") > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Reported-by: kernel test robot <lkp@intel.com> > Cc: Artur Rojek <contact@artur-rojek.eu> > Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> > Cc: linux-input@vger.kernel.org > Cc: Paul Gazzillo <paul@pgazz.com> > Cc: Necip Fazil Yildiran <fazilyildiran@gmail.com> Applied, thank you.
diff -- a/drivers/input/joystick/Kconfig b/drivers/input/joystick/Kconfig --- a/drivers/input/joystick/Kconfig +++ b/drivers/input/joystick/Kconfig @@ -46,6 +46,7 @@ config JOYSTICK_A3D config JOYSTICK_ADC tristate "Simple joystick connected over ADC" depends on IIO + select IIO_BUFFER select IIO_BUFFER_CB help Say Y here if you have a simple joystick connected over ADC.