iio: core: deconstify members of struct iio_chan_spec
Allow dynamic allocation and population of channel spec. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
4bfd542103
commit
1c5e6a3f76
|
@ -119,9 +119,9 @@ struct iio_chan_spec {
|
|||
u8 storagebits;
|
||||
u8 shift;
|
||||
} scan_type;
|
||||
const long info_mask;
|
||||
const long event_mask;
|
||||
const char *extend_name;
|
||||
long info_mask;
|
||||
long event_mask;
|
||||
char *extend_name;
|
||||
unsigned processed_val:1;
|
||||
unsigned modified:1;
|
||||
unsigned indexed:1;
|
||||
|
|
Loading…
Reference in New Issue