Commit 84bb9cdd authored by Peter Meerwald's avatar Peter Meerwald Committed by Jonathan Cameron

staging:iio:accel:sca3000: Event_attribute_group seems to be missing for _info_with_temp

issue introduced here 6fe8135f:
staging:iio: implement an iio_info structure to take some of the constant elements out of iio_dev
Signed-off-by: default avatarPeter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 5262d8fd
...@@ -1141,6 +1141,7 @@ static const struct iio_info sca3000_info = { ...@@ -1141,6 +1141,7 @@ static const struct iio_info sca3000_info = {
static const struct iio_info sca3000_info_with_temp = { static const struct iio_info sca3000_info_with_temp = {
.attrs = &sca3000_attribute_group_with_temp, .attrs = &sca3000_attribute_group_with_temp,
.read_raw = &sca3000_read_raw, .read_raw = &sca3000_read_raw,
.event_attrs = &sca3000_event_attribute_group,
.read_event_value = &sca3000_read_thresh, .read_event_value = &sca3000_read_thresh,
.write_event_value = &sca3000_write_thresh, .write_event_value = &sca3000_write_thresh,
.read_event_config = &sca3000_read_event_config, .read_event_config = &sca3000_read_event_config,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment