summaryrefslogtreecommitdiffstats
path: root/drivers/iio/temperature/mlx90614.c
diff options
context:
space:
mode:
authorVianney le Clément de Saint-Marcq <vianney.leclement@essensium.com>2015-04-17 16:05:35 +0200
committerJonathan Cameron <jic23@kernel.org>2015-04-18 20:57:47 +0200
commit6069f47f08ea670e28ae709c645e308e98636d6c (patch)
treea77bf7f6ee3b8cb801bb7c3a96af828457eb5dd3 /drivers/iio/temperature/mlx90614.c
parentiio: ltr501: Add regmap support. (diff)
downloadlinux-6069f47f08ea670e28ae709c645e308e98636d6c.tar.xz
linux-6069f47f08ea670e28ae709c645e308e98636d6c.zip
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 <vianney.leclement@essensium.com> Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to '')
-rw-r--r--drivers/iio/temperature/mlx90614.c2
1 files changed, 1 insertions, 1 deletions
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) {