From 1c5e6a3f76a4f55d403bb6d0359b16efa4289809 Mon Sep 17 00:00:00 2001 From: Michael Hennerich Date: Wed, 20 Jul 2011 15:03:07 +0200 Subject: [PATCH] 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 --- drivers/staging/iio/iio.h | 6 +++--- 1 file 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; -- 2.30.2