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:
Michael Hennerich 2011-07-20 15:03:07 +02:00 committed by Greg Kroah-Hartman
parent 4bfd542103
commit 1c5e6a3f76
1 changed files with 3 additions and 3 deletions

View File

@ -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;