From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [RFC PATCH 1/9] drivers: regulator: qcom_spmi: enable linear range info Date: Thu, 4 Apr 2019 12:55:02 +0700 Message-ID: <20190404055502.GA5683@sirena.org.uk> References: <20190404050931.9812-1-niklas.cassel@linaro.org> <20190404050931.9812-2-niklas.cassel@linaro.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Return-path: Content-Disposition: inline In-Reply-To: <20190404050931.9812-2-niklas.cassel@linaro.org> Sender: linux-kernel-owner@vger.kernel.org To: Niklas Cassel Cc: Andy Gross , David Brown , Liam Girdwood , linux-arm-msm@vger.kernel.org, jorge.ramirez-ortiz@linaro.org, linux-kernel@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 04, 2019 at 07:09:22AM +0200, Niklas Cassel wrote: > From: Jorge Ramirez-Ortiz >=20 > Signed-off-by: Jorge Ramirez-Ortiz > --- > drivers/regulator/qcom_spmi-regulator.c | 7 +++++++ > 1 file changed, 7 insertions(+) This doesn't build: CC drivers/regulator/qcom_spmi-regulator.o 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 --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlylnDUACgkQJNaLcl1U h9AMPwf/aDf9L7eeGIoDVWVU65Kp3f2gwyQ0PmX4DMGbvsowE4iCxu0CqhxPOcUM Y6/rHpBpN51nlHzhofqRYBZ8EGADqoxBBZOn7ClcJDNEVPgLiBRyWgZzcG1np6uO YkdZbufeEzM7of85tGt6jAOjZ6QxIlNBKiPnLz0dJhFa31/d5C0k1tDWVYjW35sS X/lOW1WAU3tly/wDqIDA0pC17IGoBS8Sf1yhFF/tbWCb6WITZy2zB5ihNM5kGi3P RPdhmmUjPWU5E6AUhx5Z/TTeR6XddvzwUyba4ns7/I+fLuUBynAQL2WPHfveDWJ9 WbfIkUpYhQoqiUly4o0dLzbrHOd9Jg== =skud -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--