Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2166765iob; Sat, 30 Apr 2022 00:57:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzl4iR0RaZWdXumIgmbxbFg65mvGLpCZGKy1dEH2IOJ304hzJlkpJPR+gcDyO0cig6INwSA X-Received: by 2002:a17:90b:1b41:b0:1dc:5db:a6e0 with SMTP id nv1-20020a17090b1b4100b001dc05dba6e0mr7626854pjb.232.1651305477718; Sat, 30 Apr 2022 00:57:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651305477; cv=none; d=google.com; s=arc-20160816; b=Z39uCoLKH7qnss/+8W1dVUI/8tWAmzkBbiP7l2JR15xYeVzVOGmE8kXykq51Ua/qnh xDvV4yG9b/pXZUZ6FwXazCem3DkP3B8e5AUR6v8vBmGDajg3tlCLW/ZsK4utUqmiDU9v Uscc/azKQ8/xx0PO/Z+WDNgACbdqe52D7qdhY5ASA5eA+yBsfsfNEt32rCq4d3aoQdTt dXgxWDmQNs3ERaaQzzvON1u342PCcmrT1sEAYz+l4/urbFq3p7LasZceieL95W+c8K0l TcAEKdfCWhjr61DwWn2yhmUff7h0Qq8tx7CYc4yXw1uGkMpuOirrua8dPpTVPrq+Kbj9 D6lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3O9IbsR8egFahs985GCQfMgbbIRRPAH3wloOj+Oxdhg=; b=0GGaKLS5z0uXwWLP30cpCNOoTgeOxpsPDm0L+V663R6TiGWTswvW5BM5jhOkFQyr9m fkMr6mcmIvooodVWxSnGwwOqj34wfzCzy/I6YmsqD3miFfyWu9+0KaP9aHiTgyeRVUmr Nz7lf2bfeVMyEnwlu38GmmifvE62Nfa7Lwf7dqB3oWcSrUOKwEDe5o8lBlwVAILOEvT2 d+nQOzdxn7JXKcnBi3gJa+e1xy7jyq6SUYxlFZIYJZHCCJUHgnctOC4AK5Pc4Tp/wiBm IyFDw3wOmqrnh+zopnDMIWOQMYiudhXmRgrZ1V0z9R1453itWDmInY5YAPNU0dBD/9aK tfBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SA4881Nw; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g25-20020a633759000000b0039dade203f0si9712485pgn.292.2022.04.30.00.57.02; Sat, 30 Apr 2022 00:57:57 -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=@linaro.org header.s=google header.b=SA4881Nw; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376826AbiD2OgM (ORCPT + 99 others); Fri, 29 Apr 2022 10:36:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355892AbiD2OgK (ORCPT ); Fri, 29 Apr 2022 10:36:10 -0400 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFFF3A6E24 for ; Fri, 29 Apr 2022 07:32:50 -0700 (PDT) Received: by mail-qk1-x731.google.com with SMTP id j9so6047573qkg.1 for ; Fri, 29 Apr 2022 07:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=3O9IbsR8egFahs985GCQfMgbbIRRPAH3wloOj+Oxdhg=; b=SA4881NwL1mOajreSJkMArXs+IFG++sFNGmbhdo7ZvATrNuMjzEDFYou8WmyAo8NLf cxaV03r5I3emLbYofvret1R3HJQQVgeKzXuOMAcgawXIRJW5MhyW+Yna9E91DuONn8sE JrhBoaaL2dM/iofKeoXwC0Jpen1ZxaWkzJwXVUX5zhX3Z/zPC4UoL5pc/0Bi+K995Tm2 3oAtSsZWsmFX82LtcplTYFDVnLBhG7bBjc5r2m/OjMu+D3uh9OsZcUufjmxLRhIRQqTG cY2vqyKC5E8ux8ifQOR/wDuefPQpr1l44QOKRFZCU/rIwO/1tDkFH7ORJhSkOerT0cZ2 K8BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=3O9IbsR8egFahs985GCQfMgbbIRRPAH3wloOj+Oxdhg=; b=EBT26joYaoiArIMg+r1cQ2Rmuqv6g8D2EHr4cH49g8B/FWqyWjvC7uH4vb5RLiL7nD Vosu7ADcTNYYiZAT2GC2LgG1B7c6hZwBdyU2Yy62u8GxSJqyMC/bsjfmaekzBmcqhMeb Dg/c1b8Srf/IsG40OnVtYvS6Ya13/hc2KfFz/tk66rGL9G8JhgbLIok+mVg+8PRhtJPc GQJ5nNOdK/HNgHTmw0s45cfG66Fw0Qn3jlw7IbsGrp91/Mc8jzlW4CNdvi855B823zt4 CStQ9IF3+WRSfDNUlbTISFSavolgJOt/pgcxDiBNQ1m+IHtAG7DbLLDpAAnfGAxmAf9Q wL8Q== X-Gm-Message-State: AOAM533uCROt9r+5p8039WjwHzsZyvghbxL0XORheyI/sTHQmxY26T/F Avyuly2fZxnltZi73/KsIYrl3A== X-Received: by 2002:a37:f516:0:b0:69f:83cd:f557 with SMTP id l22-20020a37f516000000b0069f83cdf557mr10824296qkk.555.1651242768910; Fri, 29 Apr 2022 07:32:48 -0700 (PDT) Received: from fedora (69-109-179-158.lightspeed.dybhfl.sbcglobal.net. [69.109.179.158]) by smtp.gmail.com with ESMTPSA id p5-20020ae9f305000000b0069e6dcc4188sm1423017qkg.57.2022.04.29.07.32.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 07:32:48 -0700 (PDT) Date: Fri, 29 Apr 2022 10:32:46 -0400 From: William Breathitt Gray 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 , Linus Walleij , Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" Subject: Re: [RFC v2 10/39] gpio: add HAS_IOPORT dependencies Message-ID: References: <20220429135108.2781579-1-schnelle@linux.ibm.com> <20220429135108.2781579-19-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Cw51uSVYoGjleSw0" Content-Disposition: inline In-Reply-To: <20220429135108.2781579-19-schnelle@linux.ibm.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 --Cw51uSVYoGjleSw0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 29, 2022 at 03:50:16PM +0200, Niklas Schnelle wrote: > In a future patch HAS_IOPORT=3Dn will result in inb()/outb() and friends > not being declared. We thus need to add HAS_IOPORT as dependency for > those drivers using them. >=20 > Co-developed-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle > --- > drivers/gpio/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig > index 45764ec3b2eb..14e5998ee95c 100644 > --- a/drivers/gpio/Kconfig > +++ b/drivers/gpio/Kconfig > @@ -697,7 +697,7 @@ config GPIO_VR41XX > =20 > config GPIO_VX855 > tristate "VIA VX855/VX875 GPIO" > - depends on (X86 || COMPILE_TEST) && PCI > + depends on (X86 || COMPILE_TEST) && PCI && HAS_IOPORT > select MFD_CORE > select MFD_VX855 > help > --=20 > 2.32.0 I noticed a number of other GPIO drivers make use of inb()/outb() -- for example the PC104 drivers -- should the respective Kconfigs for those drivers also be adjusted here? William Breathitt Gray --Cw51uSVYoGjleSw0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSNN83d4NIlKPjon7a1SFbKvhIjKwUCYmv28AAKCRC1SFbKvhIj K9u2AP0UA+4zFLE6ibsTpOqIeY862n11cgnRQU0F5BoTpsqG6gD/fLWsB6OMJM2o mmkhnCExcMN+ipH3bm/pBsjIkmHHaAY= =/Adj -----END PGP SIGNATURE----- --Cw51uSVYoGjleSw0--