Skip to content

Commit

Permalink
iio: core: deconstify members of struct iio_chan_spec
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Hennerich authored and Greg Kroah-Hartman committed Aug 23, 2011
1 parent 4bfd542 commit 1c5e6a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/iio/iio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1c5e6a3

Please sign in to comment.