Commit ef0bf6f8 authored by Peter Meerwald's avatar Peter Meerwald Committed by Jonathan Cameron

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

Signed-off-by: default avatarPeter Meerwald <pmeerw@pmeerw.net>
Acked-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 91556c69
...@@ -107,7 +107,7 @@ enum { ...@@ -107,7 +107,7 @@ enum {
* @info: pointer to iio_info struct * @info: pointer to iio_info struct
*/ */
struct ad799x_chip_config { struct ad799x_chip_config {
struct iio_chan_spec channel[9]; const struct iio_chan_spec channel[9];
u16 default_config; u16 default_config;
const struct iio_info *info; const struct iio_info *info;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment