iio:adc:ad799x: Make chan_spec const in ad799x_chip_config struct
authorPeter Meerwald <[email protected]>
Sat, 6 Dec 2014 05:54:00 +0000 (05:54 +0000)
committerJonathan Cameron <[email protected]>
Sun, 13 Jul 2014 20:56:49 +0000 (21:56 +0100)
Signed-off-by: Peter Meerwald <[email protected]>
Acked-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
drivers/iio/adc/ad799x.c

index b8a811726d2f74052b08ba606f710892e368cf61..92401c958ea244ef971caf1ee2e128131855928c 100644 (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;
 };