staging:iio:accel:sca3000: Event_attribute_group seems to be missing for _info_with_temp
authorPeter Meerwald <pmeerw@pmeerw.net>
Mon, 13 Jan 2014 21:28:00 +0000 (21:28 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 18 Jan 2014 11:07:53 +0000 (11:07 +0000)
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: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/accel/sca3000_core.c

index b627d8f6085d6f1444892f9ea167694405cafad6..159272e9de9e48b6b3f1e9d257ae71d9969b4284 100644 (file)
@@ -1141,6 +1141,7 @@ static const struct iio_info sca3000_info = {
 static const struct iio_info sca3000_info_with_temp = {
        .attrs = &sca3000_attribute_group_with_temp,
        .read_raw = &sca3000_read_raw,
+       .event_attrs = &sca3000_event_attribute_group,
        .read_event_value = &sca3000_read_thresh,
        .write_event_value = &sca3000_write_thresh,
        .read_event_config = &sca3000_read_event_config,