lkml.org 
[lkml]   [2019]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/7] drivers: regulator: qcom_spmi: enable linear range info
On Thu, Jun 06, 2019 at 11:49:23AM -0700, Jeffrey Hugo wrote:

> + if (vreg->logical_type == SPMI_REGULATOR_LOGICAL_TYPE_HFS430) {
> + /* since there is only one range */
> + range = spmi_regulator_find_range(vreg);
> + vreg->desc.uV_step = range->step_uV;
> + }

This doesn't build for me:

drivers/regulator/qcom_spmi-regulator.c: In function ‘qcom_spmi_regulator_probe’:
drivers/regulator/qcom_spmi-regulator.c:1837:29: error: ‘SPMI_REGULATOR_LOGICAL_TYPE_HFS430’ undeclared (first use in this function); did you mean ‘SPMI_REGULATOR_LOGICAL_TYPE_FTSMPS’?
if (vreg->logical_type == SPMI_REGULATOR_LOGICAL_TYPE_HFS430) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SPMI_REGULATOR_LOGICAL_TYPE_FTSMPS
drivers/regulator/qcom_spmi-regulator.c:1837:29: note: each undeclared identifier is reported only once for each function it appears in
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2019-06-13 20:52    [W:1.241 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site