diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2011-07-20 15:03:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-23 13:35:49 -0700 |
commit | 1c5e6a3f76a4f55d403bb6d0359b16efa4289809 (patch) | |
tree | a4dd24258719e87bd050c6adc57a7b74c3edf8a6 /drivers/staging | |
parent | 4bfd542103dd343eca1275f99e02f40369f80163 (diff) | |
download | linux-stable-1c5e6a3f76a4f55d403bb6d0359b16efa4289809.tar.gz linux-stable-1c5e6a3f76a4f55d403bb6d0359b16efa4289809.tar.bz2 linux-stable-1c5e6a3f76a4f55d403bb6d0359b16efa4289809.zip |
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/iio/iio.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/iio/iio.h b/drivers/staging/iio/iio.h index 16abb3749f70..753f769736ef 100644 --- a/drivers/staging/iio/iio.h +++ b/drivers/staging/iio/iio.h @@ -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; |