Commit 1c5e6a3f authored by Michael Hennerich's avatar Michael Hennerich Committed by Greg Kroah-Hartman

iio: core: deconstify members of struct iio_chan_spec

Allow dynamic allocation and population of channel spec.
Signed-off-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Acked-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 4bfd5421
...@@ -119,9 +119,9 @@ struct iio_chan_spec { ...@@ -119,9 +119,9 @@ struct iio_chan_spec {
u8 storagebits; u8 storagebits;
u8 shift; u8 shift;
} scan_type; } scan_type;
const long info_mask; long info_mask;
const long event_mask; long event_mask;
const char *extend_name; char *extend_name;
unsigned processed_val:1; unsigned processed_val:1;
unsigned modified:1; unsigned modified:1;
unsigned indexed:1; unsigned indexed:1;
......
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