lkml.org 
[lkml]   [2019]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 2/8] regulator: core: Parse max-spread value per regulator couple
From
Date
17.06.2019 18:25, Mark Brown пишет:
> On Tue, Jun 04, 2019 at 02:58:58AM +0300, Dmitry Osipenko wrote:
>
>> +#include <linux/regulator/driver.h>
>> #include <linux/regulator/consumer.h>
>> #include <linux/suspend.h>
>>
>> @@ -156,7 +157,7 @@ struct regulation_constraints {
>> int system_load;
>>
>> /* used for coupled regulators */
>> - int max_spread;
>> + int max_spread[MAX_COUPLED];
>
> I'd rather move MAX_COUPLED into a separate header than include driver.h
> so we've got a bit more compile time sepration.
>

I'll address this in the next revision.

\
 
 \ /
  Last update: 2019-06-18 18:28    [W:0.073 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site