From: Vianney le Clément de Saint-Marcq Date: Fri, 17 Apr 2015 14:05:35 +0000 (+0200) Subject: iio: mlx90614: Fix duplicate const warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6069f47f08ea670e28ae709c645e308e98636d6c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git iio: mlx90614: Fix duplicate const warning 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 --- 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) {