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>
This commit is contained in:
parent
91556c6939
commit
ef0bf6f82d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue