From ef0bf6f82d4bc2edaa88eaf679b5acc355f27037 Mon Sep 17 00:00:00 2001 From: Peter Meerwald Date: Sat, 6 Dec 2014 05:54:00 +0000 Subject: [PATCH] iio:adc:ad799x: Make chan_spec const in ad799x_chip_config struct Signed-off-by: Peter Meerwald Acked-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- 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 b8a811726d2f..92401c958ea2 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; }; -- 2.39.5