1
0
Fork 0

iio:adc:ad799x: Make chan_spec const in ad799x_chip_config struct

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
hifive-unleashed-5.1
Peter Meerwald 2014-12-06 05:54:00 +00:00 committed by Jonathan Cameron
parent 91556c6939
commit ef0bf6f82d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
};