summaryrefslogtreecommitdiffstats
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 19:57:47 +0100
commit6069f47f08ea670e28ae709c645e308e98636d6c (patch)
treea77bf7f6ee3b8cb801bb7c3a96af828457eb5dd3
parent2f2c96338afc9f90aa5a0fca04ece1a5c389ee31 (diff)
downloadop-kernel-dev-6069f47f08ea670e28ae709c645e308e98636d6c.zip
op-kernel-dev-6069f47f08ea670e28ae709c645e308e98636d6c.tar.gz
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>
-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 06b7b96..b2d3b56 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) {
OpenPOWER on IntegriCloud