Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp220845iob; Mon, 2 May 2022 17:37:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbhh+VncImBflBq1OeVJkIpxikriTwV/8jCGufOycxGGJMxxChvUvrBHf/8uAXrAzMANt4 X-Received: by 2002:a17:90b:3507:b0:1dc:68e2:10bc with SMTP id ls7-20020a17090b350700b001dc68e210bcmr1994479pjb.30.1651538247324; Mon, 02 May 2022 17:37:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651538247; cv=none; d=google.com; s=arc-20160816; b=SqescWHahln4gH5WfmnphvymUP6P+/CpbvsJidpNQIGscUcy1uYdeY8KaG2xwz4xEo DdivdfXJIKM/XDLDI++uGjS+LMadHZRZv/OxubRZf1qqJDX5lsRrCl3G3D5EqTnDuZ3h VFf7+gEkxazoMZmrHnK/700D3kh0Hc82Ofz+Wm8k6BqsvFDNmr7Ma5+IyDNvQhJPRp/M r0Gv3Ql499OWKkGnZ4fV2iFOcNrsP3npMbMlE5ndYZTjfrugFtyIb29TRYsX+fF6d596 gHKRYXNGH4RtN1E2inTMAPZ1LPfvEwlLtkWxn+Fcl02cDOzMwPyEUrKQygjSGmqNVrlf znfQ== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=KwgcbaUPClKsJist9CiRwqQs8eIgVCax8tgDviHOwZg=; b=vgJSl6EeNCTMNBRJ2iwtNqJPMxfcuApMs9eyFYBXqxA9vHfgEznrKieLPWgug+E3Ky L7dDePeDxByPJWA0meBxsJsOOBvyp0AMMTeooJq7gLXZ3WnPkHTLXxkkFAZ1eGoHhOj9 mEVV2w4b4ew1sGGj4mSgsamh4rJeXp9FFXCfTWR76sTsBNY0LG2m+AHbFTxefluwgJP2 tmxwLwEIBe3jDEY3twfRICLmsuqWbg3r27NdKyfzpsBu0tPggEVoCiXSK+VSjbKIuOWF BTIdqlqR2LBVOpxPY7AdthTn+Umlyyy29+e4XF3mMLCdka88/FnqjBHxD8rt3kr5waMM x3Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n0xTwkLo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id i13-20020a633c4d000000b003aad07d7e59si16056735pgn.253.2022.05.02.17.37.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:37:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n0xTwkLo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6A7CD4506C; Mon, 2 May 2022 17:29:16 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349859AbiEAQqc (ORCPT + 99 others); Sun, 1 May 2022 12:46:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349805AbiEAQq3 (ORCPT ); Sun, 1 May 2022 12:46:29 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 670D51DA54; Sun, 1 May 2022 09:43:03 -0700 (PDT) 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 1663FB80E31; Sun, 1 May 2022 16:43:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7D715C385A9; Sun, 1 May 2022 16:42:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651423380; bh=5iiuM2YB632xp1B0gLh45BZ+N3/79eXgk2RK6BlzzpA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=n0xTwkLoSb0AzWyaHXJeEggDmse8eeQyuVoUUEoaMLokua+cGHyXPZVHr8tx1i2lS FzOtbckl1b7cHziE/jUc6dPSKOG0SdfaPU1De3W2JFZoqhID6DaeTr668IUy285MAx jpDSZjUAb6qco7qdSUfDVv4Qj/sQptdSKSKF4Jj4jJeyFzYaYVLHrF9vUtRbMaD8Cn lfGtKKjJr7IlXp3iokWRv1lnx0nsjYZfElfYOlX0OzmkmRoG9OFDnBQgyJIAVxEnX4 ELTkZUzTW79i53uBjGSQcsOX5tuQDYaJ54nf6Yu8ZPllkWMgzCzltDekLsDWKgwL3g FuMq/yjxFIjnA== Date: Sun, 1 May 2022 17:51:15 +0100 From: Jonathan Cameron To: Niklas Schnelle Cc: Arnd Bergmann , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , linux-iio@vger.kernel.org (open list:IIO SUBSYSTEM AND DRIVERS) Subject: Re: [RFC v2 13/39] iio: adc: Kconfig: add HAS_IOPORT dependencies Message-ID: <20220501175115.2520a946@jic23-huawei> In-Reply-To: <20220429135108.2781579-23-schnelle@linux.ibm.com> References: <20220429135108.2781579-1-schnelle@linux.ibm.com> <20220429135108.2781579-23-schnelle@linux.ibm.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 29 Apr 2022 15:50:20 +0200 Niklas Schnelle wrote: > In a future patch HAS_IOPORT=n will result in inb()/outb() and friends > not being declared. We thus need to add HAS_IOPORT as dependency for > those drivers using them. > > Co-developed-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle Hi. Please call out specific driver as that'll increase chance of relevant people noticing (there are quite a lot of ADC drivers!) e.g. iio: adc: ad7606: .... Anyhow, looks fine to me Acked-by: Jonathan Cameron Thanks, > --- > drivers/iio/adc/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig > index 71ab0a06aa82..c99843307e4f 100644 > --- a/drivers/iio/adc/Kconfig > +++ b/drivers/iio/adc/Kconfig > @@ -130,7 +130,7 @@ config AD7606 > > config AD7606_IFACE_PARALLEL > tristate "Analog Devices AD7606 ADC driver with parallel interface support" > - depends on HAS_IOMEM > + depends on HAS_IOPORT > select AD7606 > help > Say yes here to build parallel interface support for Analog Devices: