提交 ef0bf6f8 编写于 作者: P Peter Meerwald 提交者: Jonathan Cameron

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

Signed-off-by: NPeter Meerwald <pmeerw@pmeerw.net>
Acked-by: NLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 91556c69
......@@ -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;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册