From: Michael Hennerich Date: Wed, 20 Jul 2011 13:03:07 +0000 (+0200) Subject: iio: core: deconstify members of struct iio_chan_spec X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1c5e6a3f76a4f55d403bb6d0359b16efa4289809;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git iio: core: deconstify members of struct iio_chan_spec Allow dynamic allocation and population of channel spec. Signed-off-by: Michael Hennerich Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- 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;