[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190220164851.GD9878@sirena.org.uk>
Date: Wed, 20 Feb 2019 16:48:51 +0000
From: Mark Brown <broonie@...nel.org>
To: Christian Hohnstaedt <Christian.Hohnstaedt@...o.com>
Cc: J Keerthy <j-keerthy@...com>, Liam Girdwood <lgirdwood@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Tony Lindgren <tony@...mide.com>, devicetree@...r.kernel.org,
linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] regulator: tps65218: Add support for LS2
On Wed, Feb 20, 2019 at 09:15:52AM +0100, Christian Hohnstaedt wrote:
> + TPS65218_REGULATOR("LS2", "regulator-ls2", TPS65218_LS_2,
> + REGULATOR_CURRENT, tps65218_ls23_ops, 0, 0, 0,
> + TPS65218_REG_ENABLE2, TPS65218_ENABLE2_LS2_EN,
> + TPS65218_REG_CONFIG2, TPS65218_CONFIG2_LS2ILIM_MASK,
> + NULL, 0, 0, 0, 0, 0),
This doesn't build:
drivers/regulator/tps65218-regulator.c:309:45: error: ‘TPS65218_LS_2’ undeclared here (not in a function); did you mean ‘TPS65218_LS_3’?
TPS65218_REGULATOR("LS2", "regulator-ls2", TPS65218_LS_2,
^~~~~~~~~~~~~
drivers/regulator/tps65218-regulator.c:36:11: note: in definition of macro ‘TPS65218_REGULATOR’
.id = _id, \
^~~
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists