On 07/15/11 13:59, michael.hennerich@xxxxxxxxxx wrote: > From: Michael Hennerich <michael.hennerich@xxxxxxxxxx> > > Allow dynamic allocation and population of channel spec. > > Signed-off-by: Michael Hennerich <michael.hennerich@xxxxxxxxxx> Acked-by: Jonathan Cameron <jic23@xxxxxxxxx> > --- > 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 7a6ce4d..a9d7730 100644 > --- a/drivers/staging/iio/iio.h > +++ b/drivers/staging/iio/iio.h > @@ -121,9 +121,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; -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html