From 6069f47f08ea670e28ae709c645e308e98636d6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vianney=20le=20Cl=C3=A9ment=20de=20Saint-Marcq?= Date: Fri, 17 Apr 2015 16:05:35 +0200 Subject: [PATCH] iio: mlx90614: Fix duplicate const warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix a typo triggering a duplicate const warning on some compilers. Signed-off-by: Vianney le Clément de Saint-Marcq Cc: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Jonathan Cameron --- drivers/iio/temperature/mlx90614.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/temperature/mlx90614.c b/drivers/iio/temperature/mlx90614.c index 06b7b9677982..b2d3b56f1260 100644 --- a/drivers/iio/temperature/mlx90614.c +++ b/drivers/iio/temperature/mlx90614.c @@ -263,7 +263,7 @@ static int mlx90614_write_raw(struct iio_dev *indio_dev, } static int mlx90614_write_raw_get_fmt(struct iio_dev *indio_dev, - const struct iio_chan_spec const *channel, + struct iio_chan_spec const *channel, long mask) { switch (mask) { -- 2.30.2