From patchwork Fri Nov 4 20:12:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 621557 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 DDF77C4332F for ; Fri, 4 Nov 2022 20:12:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229764AbiKDUMu (ORCPT ); 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 ); 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 To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Artur Rojek , Dmitry Torokhov , linux-input@vger.kernel.org, Paul Gazzillo , Necip Fazil Yildiran 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 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org 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 Reported-by: kernel test robot Cc: Artur Rojek Cc: Dmitry Torokhov Cc: linux-input@vger.kernel.org Cc: Paul Gazzillo Cc: Necip Fazil Yildiran --- drivers/input/joystick/Kconfig | 1 + 1 file changed, 1 insertion(+) 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.