From: Peter Meerwald Date: Mon, 13 Jan 2014 21:28:00 +0000 (+0000) Subject: staging:iio:accel:sca3000: Event_attribute_group seems to be missing for _info_with_temp X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=84bb9cdd035ee6ed63371ae926ed225ba51770f2;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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: Peter Meerwald Signed-off-by: Jonathan Cameron --- diff --git a/drivers/staging/iio/accel/sca3000_core.c b/drivers/staging/iio/accel/sca3000_core.c index b627d8f6085d..159272e9de9e 100644 --- a/drivers/staging/iio/accel/sca3000_core.c +++ b/drivers/staging/iio/accel/sca3000_core.c @@ -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,