提交 1c5e6a3f 编写于 作者: M Michael Hennerich 提交者: Greg Kroah-Hartman

iio: core: deconstify members of struct iio_chan_spec

Allow dynamic allocation and population of channel spec.
Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com>
Acked-by: NJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 4bfd5421
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册