All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio: mlx90614: Fix duplicate const warning
@ 2015-04-17 14:05 Vianney le Clément de Saint-Marcq
  2015-04-18 16:30 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Vianney le Clément de Saint-Marcq @ 2015-04-17 14:05 UTC (permalink / raw)
  To: linux-iio
  Cc: Vianney le Clément de Saint-Marcq,
	Arnout Vandecappelle (Essensium/Mind)

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>
---
 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 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) {
-- 
2.3.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-18 16:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-17 14:05 [PATCH] iio: mlx90614: Fix duplicate const warning Vianney le Clément de Saint-Marcq
2015-04-18 16:30 ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.