lkml.org 
[lkml]   [2019]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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, \
^~~

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2019-02-20 17:49    [W:0.303 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site