Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2284798rwd; Sun, 28 May 2023 12:05:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ78t/IIH8xqIe1NwI9wGnrMk0XfAa8Ky5Ne9RBdsohTac58AjExz48NLFD689tpJDQegJkL X-Received: by 2002:a05:6a20:a30d:b0:10c:7916:f9f6 with SMTP id x13-20020a056a20a30d00b0010c7916f9f6mr4795897pzk.52.1685300729384; Sun, 28 May 2023 12:05:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685300729; cv=none; d=google.com; s=arc-20160816; b=n0kXkTQLqEReeS80b+Uy3STEXAWsm8dHJgjinBmcVdT7yf2Ypt+AjM+KQ+z1l9q11b JEwofCdqsCULmODHbaEkbd3ypnf/43eXG9SL92CeT2fq0Qao6i+c+BQ3EBh0p4LVu8B0 f9DIFJOVOQ6l8XQaudeBsAb142isdJKpBja+mkFx7UE2u4icf9s8AUB2n+pK7rvaTysW Zv9Vhob9cvrlmxR3zxrq4sPVXFqrdK3iT0rcb1qNMYa3eZddMee917pSAcvZnVVpmCsg Y53pZefDKESGWP+lgyTn4j0N2rCOLyABPArqe/mp81qJCAjDIrZ/Fm8rSteydwaWwDKp SK6w== 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=Iu3f+3Pkso0MgsE/s6eY9lAe3chvRKdSxPMZkmd69H4=; b=VkEwA6fidyi8PxOOFaSdMvOIkV0pss5yCE3bb8g4MhM3N5DYiWKjZTh2Y7Axgo6YtW awvHl+648qcQrGuzDN7ZW5BXiaWfbnYscWJcdANwltsHYMBhXNfweh/h3MUbSg9cGJHb Zh5jJfJZzG7K4uhazjbGLK/OulIVp/2zZm4812HCcq+7pL/kVk++G5tnsUmidaDJoLvR sQIb7Gd3/9PnkmT6LFclnpWn5mOdi8k05UisBy4oi93cv8K+Rw/stxvtoO1sUC2KuwE5 UuCPSmisjHue3BUi/hcqMv53soJ+0CihFRNihHAxfnyyDV5TKTaEYmaddXdpzHU6Nqpk 2ddw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SJuYBjuw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020a636b0a000000b0053efd751392si2446180pgc.827.2023.05.28.12.05.16; Sun, 28 May 2023 12:05:29 -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=@kernel.org header.s=k20201202 header.b=SJuYBjuw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229583AbjE1Siu (ORCPT + 99 others); Sun, 28 May 2023 14:38:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbjE1Sis (ORCPT ); Sun, 28 May 2023 14:38:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D179FAD; Sun, 28 May 2023 11:38:47 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 63B4D612EC; Sun, 28 May 2023 18:38:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41DC3C433D2; Sun, 28 May 2023 18:38:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685299126; bh=Y1Ww4qK5/r9zCYcpnBGZ7qwWpTsyIaM5eqr/Ya7W1bc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SJuYBjuwADkZUZcrXaFx4CRaeAD6xhtrpw1PZ+GeSEpuK/psXVyzPtuQ9GtoLS9jD RKgGlFl+97e7XSsDmZJHaB9v9wOsrtZ51GNecdzmHTLjGlkluYGC7UI4d32bq+f3+n UTGBeVe6xKQpYuYdokECSGmPKK5BT8E93pF7irQUyRUB/AukwdgT4pAXdmevMazHCF Nk7O0Bsj8xExFifOdJsuGZncW4osMkoOfqw5sS83jDvOH9jCy0tdh0RmyurQkjpjob y649HJDRb1qbEa4CAiA7C86wE8vY9gA2nUuOCT6eXaC/vlQeVHYwRui/TZ3/W9H1LV hmIsFTpWMovEg== Date: Sun, 28 May 2023 19:55:03 +0100 From: Jonathan Cameron To: Niklas Schnelle Cc: Arnd Bergmann , Lars-Peter Clausen , Greg Kroah-Hartman , Bjorn Helgaas , Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= , Mauro Carvalho Chehab , Alan Stern , "Rafael J. Wysocki" , Geert Uytterhoeven , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Jonathan Cameron , Arnd Bergmann , linux-iio@vger.kernel.org Subject: Re: [PATCH v5 14/44] iio: ad7606: Kconfig: add HAS_IOPORT dependencies Message-ID: <20230528195503.4dbeb358@jic23-huawei> In-Reply-To: <20230522105049.1467313-15-schnelle@linux.ibm.com> References: <20230522105049.1467313-1-schnelle@linux.ibm.com> <20230522105049.1467313-15-schnelle@linux.ibm.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; 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=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 22 May 2023 12:50:19 +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. > > Acked-by: Jonathan Cameron > Co-developed-by: Arnd Bergmann > Signed-off-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle I already picked this up for the IIO tree already as I don't think there are any dependencies. Jonathan > --- > 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 eb2b09ef5d5b..53098aca06ea 100644 > --- a/drivers/iio/adc/Kconfig > +++ b/drivers/iio/adc/Kconfig > @@ -145,7 +145,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: