Re: [PATCH] iio: mlx90614: Fix duplicate const warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17/04/15 15:05, Vianney le Clément de Saint-Marcq wrote:
> Fix a typo triggering a duplicate const warning on some compilers.
> 
> Signed-off-by: Vianney le Clément de Saint-Marcq <vianney.leclement@xxxxxxxxxxxxx>
> Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@xxxxxxx>
Applied to the togreg branch of iio.git and pushed out as testing
for the autobuilders to play.  I'm not bothering to push this
out faster as it is afterall just a warning and has no actually effect.
> ---
>  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) {
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux