Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp289263lqd; Wed, 24 Apr 2024 02:16:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXJF8NGVkTDzx6po/P2gxZ5Xittt+68TKz+PdOXveD2rlJkXTcCNmq66YLFivJPMQdU1maCCTrofRJsTU/85qATkW6fq2iY3XCSstByNA== X-Google-Smtp-Source: AGHT+IEtIMDWH33aYifvvzPw79iKwJ7EEIguSiJitpDmVbiMvp/Tg9ztLDGm9d7decwWu4hNsCHp X-Received: by 2002:a19:ee02:0:b0:51a:c5fe:1c82 with SMTP id g2-20020a19ee02000000b0051ac5fe1c82mr1667946lfb.16.1713950209673; Wed, 24 Apr 2024 02:16:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713950209; cv=pass; d=google.com; s=arc-20160816; b=hiYR2rp9NRZRIB/myZw+NMI8nilWgsMY/t+hMAW8QculpfrM7bnKCF/qpWMJ2a3JKR PP8WT/EAMNv27EJ5i13Copqhdjnzk7C41YpQKPQ9CzxkyjsIZLuQz5Yz99Uw1kCKjm8P ytXeayBda5cjrF6QPwYRcWdAmthwmExbPdy7p3hSyD7zVu6YLSnUldOmg4eY9LlaSSxv evdCez/Aj1RCmNmUEt41OPzgBm8pFh9VBQuNl3Jp8jG2RgdnBwiclN0GqbKtmBj6MlAm XCDqIrh2tEI0bNdO9WFgGPnQuICCHTdyb6DmKMGY3eJUTBJNrvqQI2kyfvLUMkww5lSz YVmg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=spYhOLrh3lNuscT8zzgoACMIpGf8xy6oC4fbek8J1lo=; fh=t/Rlprtb5kVZgOj4jZz3MBiSXVd5jcjJfSKVyh9eDy8=; b=xCCIvdgk2gW/bLlUnJWS3KDnHQ/2R+Mbclw8yzOU2rgmLg1IzmJ1M42/VaFxRBGvGX PaHSBT6Bm8sWArwBnwjcr60ielTSsOqgSGIKWgfBATAwECEZqRPrt98J3YpjID/2YB9O Hmx3yy5U0CKyNbTG+fnB5XKduf6dWXa8UAk/8Sj+O83v7yUHbCiSVP1+ZBrsOP1I74Am b0NoA3cdx7+eoVV84/MQJrnJfiPOVt8M474s18cXm17RzBalhkQXr7lv5R1x3Sglh/jP pEUJSxpHnPTH8MelIi9tO+ZSCicV40Ihy3J0Fdo5CftUsE40phaenDN78tBd09srW52P V5ng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-156606-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156606-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hr8-20020a1709073f8800b00a588f7a46e7si851862ejc.692.2024.04.24.02.16.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 02:16:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156606-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-156606-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156606-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B47751F25603 for ; Wed, 24 Apr 2024 09:10:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1DCC5158D70; Wed, 24 Apr 2024 09:10:24 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5ECFF158A38 for ; Wed, 24 Apr 2024 09:10:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713949823; cv=none; b=UoAM3Iec5vAS+OdF/hj6KYp2fL+mPSfBigwC6nkcl0/gjopU6P9OkjKFCY315BE/8CT389dIImUTefg2EuuYvpLoAP3H5b9E7w+Yjx3lp14bjAzAFov2f5VOMVHwMl4nab3GEt+T3FGcw8oKXXTWuaInIBErjAV/1jCajpJZJ58= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713949823; c=relaxed/simple; bh=8vA4orOaKDY+zHUQW1/tzx26tBDxJUvA8wUGfkL9DPc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UKd91rscwzDnPockrjt8YBH/IS+6ZFtShkM46JGkGdDCs6c07DHEiHr6wjodIEGnHA5D+7A7hlwkHj3nwx+tivfDxh5dbKQCUazM5XzNot4sHPLegdkgQfijl5Q2atmXn6mTSpkm4GuyVRlx92WOVQ0OW1Hbm2WEYLaO2f1zhgQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rzYdj-0006Hi-91; Wed, 24 Apr 2024 11:10:07 +0200 Received: from [2a0a:edc0:0:b01:1d::7b] (helo=bjornoya.blackshift.org) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rzYdh-00E3JN-HA; Wed, 24 Apr 2024 11:10:05 +0200 Received: from pengutronix.de (unknown [172.20.34.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 186472BECA6; Wed, 24 Apr 2024 09:10:05 +0000 (UTC) Date: Wed, 24 Apr 2024 11:10:04 +0200 From: Marc Kleine-Budde To: Gregor Herburger Cc: Manivannan Sadhasivam , Thomas Kopp , Vincent Mailhol , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux@ew.tq-group.com, alexander.stein@ew.tq-group.com Subject: Re: [PATCH 3/4] can: mcp251xfd: add gpio functionality Message-ID: <20240424-witty-vicugna-of-purring-7bffcc-mkl@pengutronix.de> References: <20240417-mcp251xfd-gpio-feature-v1-0-bc0c61fd0c80@ew.tq-group.com> <20240417-mcp251xfd-gpio-feature-v1-3-bc0c61fd0c80@ew.tq-group.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="farp7erk7y3aax3q" Content-Disposition: inline In-Reply-To: <20240417-mcp251xfd-gpio-feature-v1-3-bc0c61fd0c80@ew.tq-group.com> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org --farp7erk7y3aax3q Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 17.04.2024 15:43:56, Gregor Herburger wrote: > The mcp251xfd devices allow two pins to be configured as gpio. Add this > functionality to driver. Fails to build if CONFIG_GPIOLIB is not enabled. | CC [M] drivers/net/can/spi/mcp251xfd/mcp251xfd-core.o | drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c: In function =E2=80=98mcp2= 51fdx_gpio_setup=E2=80=99: | drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c:1877:39: error: =E2=80=98s= truct mcp251xfd_priv=E2=80=99 has no member named =E2=80=98gc=E2=80=99; did= you mean =E2=80=98cc=E2=80=99? | 1877 | struct gpio_chip *gc =3D &priv->gc; | | ^~ | | cc regards, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung N=C3=BCrnberg | Phone: +49-5121-206917-129 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 | --farp7erk7y3aax3q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEUEC6huC2BN0pvD5fKDiiPnotvG8FAmYozGkACgkQKDiiPnot vG9J1wf/do8Juj8Orh5bVD09ULKiTACR0iSR2akIljO+FR51Sj5s88bF3DJUn3xV ipozlNXXytRTXvW6K535zzoaX9Qs6slTyDKZjubYt/foqQ3KssuOZudP45iaIuWG 47N6tvdqDN8pEvBdhKwOWl1FJygZ4CskxX3hDMgF/jgc8JqL+5Y6z8vGqf6DssEV 3Mr1R9jpbVdQn8FUmp3262pK2p352LicKK3MUIKVMxmEfZ1LYaZXqvJwme2lFL6d jXglkz5U3mLhY0rxlh8++tbwv+a1VNt4kDZGwLt7PaTm2rd/qC0ku/KC/yZHr/fe VGuS8MVt9UCBMQiFyAu85AVHRVAEww== =jzV9 -----END PGP SIGNATURE----- --farp7erk7y3aax3q--