Re: [PATCH 3/3] regulator: tps65218: Add support for LS2
From: Mark Brown
Date: Wed Feb 20 2019 - 11:49:01 EST
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, \
^~~
Attachment:
signature.asc
Description: PGP signature