2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-30 08:04:13 +08:00

iio:adc:at91-sama5d2: fix vref_uv type

vref_uv has to be an int.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Ludovic Desroches 2016-01-18 09:41:55 +01:00 committed by Jonathan Cameron
parent 4ea71e5cee
commit d7bdcc3f57

View File

@ -171,7 +171,7 @@ struct at91_adc_state {
struct clk *per_clk;
struct regulator *reg;
struct regulator *vref;
u32 vref_uv;
int vref_uv;
const struct iio_chan_spec *chan;
bool conversion_done;
u32 conversion_value;