diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2014-12-06 00:54:00 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-07-13 16:56:49 -0400 |
commit | ef0bf6f82d4bc2edaa88eaf679b5acc355f27037 (patch) | |
tree | 0281a358eaae55dce119f24748ae6d66ea827a1d /drivers/iio | |
parent | 91556c69394d08ad32525b76436a8deab6155cbd (diff) |
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>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/adc/ad799x.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
107 | * @info: pointer to iio_info struct | 107 | * @info: pointer to iio_info struct |
108 | */ | 108 | */ |
109 | struct ad799x_chip_config { | 109 | struct ad799x_chip_config { |
110 | struct iio_chan_spec channel[9]; | 110 | const struct iio_chan_spec channel[9]; |
111 | u16 default_config; | 111 | u16 default_config; |
112 | const struct iio_info *info; | 112 | const struct iio_info *info; |
113 | }; | 113 | }; |