Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp73114ybi; Thu, 13 Jun 2019 11:52:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxexcmOol4YHXCI9uSAsq3onv/eWgW4OuvIDSOx1SjHHllAPsyze4NigkvO3MZEU1SNbhm/ X-Received: by 2002:a63:d24f:: with SMTP id t15mr1642579pgi.301.1560451924426; Thu, 13 Jun 2019 11:52:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560451924; cv=none; d=google.com; s=arc-20160816; b=nP5l8qzgRMdaz7+S5mGssXPNwKDGXSMSuT4QM7vTYqV+2L6D3e4yye48h+x1MM2l/C 3eqti6DEnH7DegWHQa4S7Wa2Lv2k3riWwsU21jxDgggG1iNhGS30TAi72ZfC28SoTZov 62PHfCoQgpN4zYjctsZPYGNKsgdcUzKOgZYDywjHe6O4FwlHAHsEjLGQ7qNfaLmQk1rz eTHtPFOd+JzhMjt8sNjiaIQ3eT+cvzyn9Wp43/DM1nCbwQcJoB34W36mjdpI2SPOciVn Kc1cAk+Qxpkf131xZs4bTAy2viY5iGOBIyRNlIV8rOE7BmetICwngNx5zSioWG7T3Lof RAfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=AoGVTpO9zrb+1lSUsvcK/kqe1TkrIDM1OzuifM0MG0U=; b=BJ8D3K+QvJ7zqUGRDLUlKRFB8SAAT8ijLMDbdecrGPCuJccOOz3g7wvawr5aIMgNE2 ZvNGASsT7c6UB5yeDz42dJhAACxsVrBt0jYayoTuWYNMKby2HGsdv5LOGkZvgXRaSASN Wgm7wd7vUhOKuW7HETX64T8EHW7smvOHoGzbYfJNRiQYh9AjodbVg5nFYZfvgz5cI+EA hHOt7RTwOwFYi1g/gqEnuL6I24pFR1lLA9LJS6iOHeoVlkQNeCMGmHaHTEuj9xd1YLhQ YkWtwecf6quim/wswtLpVbtkJhYX0OvMy+p6OErv6aZboVcA179QbwjYMEy7htpnr46Z 2HYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=OkUzokA5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 8si350520pgc.464.2019.06.13.11.51.49; Thu, 13 Jun 2019 11:52:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=OkUzokA5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727922AbfFMSvl (ORCPT + 99 others); Thu, 13 Jun 2019 14:51:41 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:41338 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725838AbfFMSvk (ORCPT ); Thu, 13 Jun 2019 14:51:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=AoGVTpO9zrb+1lSUsvcK/kqe1TkrIDM1OzuifM0MG0U=; b=OkUzokA5JOaF9gqrT7UHxscsl x/RbwO++AjM1cPG8ubPFKMxiWTkecrOJ1+dZ5FURuOCDSD6MBr45g1tjf/V4u07vJRnNK1tUahczJ W21wqeZAnEjcBYvj21LGo7dpAPjqTgcpw7OnJ/DzQHgL0LNWT0TT7zy1ntTYSB6lf+UMU=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=finisterre.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hbUoz-0005QJ-1f; Thu, 13 Jun 2019 18:51:37 +0000 Received: by finisterre.sirena.org.uk (Postfix, from userid 1000) id 8C75E440046; Thu, 13 Jun 2019 19:51:36 +0100 (BST) Date: Thu, 13 Jun 2019 19:51:36 +0100 From: Mark Brown To: Jeffrey Hugo Cc: lgirdwood@gmail.com, agross@kernel.org, david.brown@linaro.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, jorge.ramirez-ortiz@linaro.org, niklas.cassel@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v2 1/7] drivers: regulator: qcom_spmi: enable linear range info Message-ID: <20190613185136.GW5316@sirena.org.uk> References: <20190606184842.39484-1-jeffrey.l.hugo@gmail.com> <20190606184923.39537-1-jeffrey.l.hugo@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ahZICQ7iXVM/oLYH" Content-Disposition: inline In-Reply-To: <20190606184923.39537-1-jeffrey.l.hugo@gmail.com> X-Cookie: Editing is a rewording activity. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ahZICQ7iXVM/oLYH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 06, 2019 at 11:49:23AM -0700, Jeffrey Hugo wrote: > + if (vreg->logical_type =3D=3D SPMI_REGULATOR_LOGICAL_TYPE_HFS430) { > + /* since there is only one range */ > + range =3D spmi_regulator_find_range(vreg); > + vreg->desc.uV_step =3D range->step_uV; > + } This doesn't build for me: drivers/regulator/qcom_spmi-regulator.c: In function =E2=80=98qcom_spmi_reg= ulator_probe=E2=80=99: drivers/regulator/qcom_spmi-regulator.c:1837:29: error: =E2=80=98SPMI_REGUL= ATOR_LOGICAL_TYPE_HFS430=E2=80=99 undeclared (first use in this function); = did you mean =E2=80=98SPMI_REGULATOR_LOGICAL_TYPE_FTSMPS=E2=80=99? if (vreg->logical_type =3D=3D SPMI_REGULATOR_LOGICAL_TYPE_HFS430) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SPMI_REGULATOR_LOGICAL_TYPE_FTSMPS drivers/regulator/qcom_spmi-regulator.c:1837:29: note: each undeclared iden= tifier is reported only once for each function it appears in --ahZICQ7iXVM/oLYH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl0CmzcACgkQJNaLcl1U h9BLcAf+LbREmfxXdirC6a4pyidOidMHVXvJ5RSlum+DW3aj56vF/aXiYyZm9d2C 4I+6WFnpU6GIbsNXcYPRkng30IZO5++Da8NPRPyYhcmBs+pJhpQjlPiPg6UK2/iB AmsQStemH0Zi1crGMEeLU/nYREfZpTnS9GXH4r5SMvja5EigTEKfSqlhoWl5hoJd INPx2zNjnBP21hVt0aUs+uEj2xiAuwMrN8VtHT152T51jVofsIxXZYBXtmSFKdLJ 9nkFy36LT6YA2gso7Caw+ku3SYPfXgkPu7YdOjnlFOp5sDC2dX7nlKeAZwiphDcU IgFxUVv32eyNOS7wxahaxSq/ypFIPg== =u3Lf -----END PGP SIGNATURE----- --ahZICQ7iXVM/oLYH--