Signed-off-by: Peter Meerwald <pmeerw@xxxxxxxxxx> Acked-by: Lars-Peter Clausen <lars@xxxxxxxxxx> --- drivers/iio/adc/ad799x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/ad799x.c b/drivers/iio/adc/ad799x.c index e880d17..ae32ea1 100644 --- a/drivers/iio/adc/ad799x.c +++ b/drivers/iio/adc/ad799x.c @@ -107,7 +107,7 @@ enum { * @info: pointer to iio_info struct */ struct ad799x_chip_config { - struct iio_chan_spec channel[9]; + const struct iio_chan_spec channel[9]; u16 default_config; const struct iio_info *info; }; -- 1.9.1 -- 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