lkml.org 
[lkml]   [2012]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH RFT 2/2] regulator: max1586: Convert max1586_v3_ops to set_voltage_sel and map_voltage_linear
2012/6/11 Robert Jarzmik <robert.jarzmik@free.fr>:
> Axel Lin <axel.lin@gmail.com> writes:
>
>> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> Hi Axel,
>
> The patches look OK to me, but I cannot build them.
> Even on top of linux-next, I get :
> drivers/regulator/max1586.c: In function 'max1586_v6_set_voltage_sel':
> drivers/regulator/max1586.c:86:2: error: 'const struct regulator_desc' has no member named 'volt_table'
> drivers/regulator/max1586.c: At top level:
> drivers/regulator/max1586.c:105:18: error: 'regulator_list_voltage_table' undeclared here (not in a function)
> drivers/regulator/max1586.c:123:3: error: unknown field 'volt_table' specified in initializer
> drivers/regulator/max1586.c:123:3: warning: initialization from incompatible pointer type [enabled by default]
> drivers/regulator/max1586.c:123:3: warning: (near initialization for 'max1586_reg[1].ops') [enabled by default]
>
> I suppose you're basing your tree on top of a set of commits not available in
> linux-next (maybe Mark's regulator tree ?). As I don't have that tree in mind,
> it would be kind to tell me which tree you're basing your work on, so that I
> could test your last patches.

I think all the necessary patches are already in linux-next tree.
I have no problem to build it with linux-next 20120608.

Regards,
Axel


\
 
 \ /
  Last update: 2012-06-11 01:41    [W:0.042 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site