projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bfd542
)
iio: core: deconstify members of struct iio_chan_spec
author
Michael Hennerich
<michael.hennerich@analog.com>
Wed, 20 Jul 2011 13:03:07 +0000
(15:03 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 23 Aug 2011 20:35:49 +0000
(13:35 -0700)
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>
drivers/staging/iio/iio.h
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/iio.h
b/drivers/staging/iio/iio.h
index
16abb37
..
753f769
100644
(file)
--- 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;
- c
onst char
*extend_name;
+
long
info_mask;
+
long
event_mask;
+ c
har
*extend_name;
unsigned processed_val:1;
unsigned modified:1;
unsigned indexed:1;