mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 09:59:32 +00:00
staging: iio: adis16240 add _index attribute registration
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
49624fa833
commit
6d2174f438
1 changed files with 7 additions and 0 deletions
|
@ -33,16 +33,23 @@ static IIO_CONST_ATTR_SCAN_EL_TYPE(timestamp, s, 64, 64);
|
|||
|
||||
static struct attribute *adis16240_scan_el_attrs[] = {
|
||||
&iio_scan_el_in_supply.dev_attr.attr,
|
||||
&iio_const_attr_in_supply_index.dev_attr.attr,
|
||||
&iio_const_attr_in_supply_type.dev_attr.attr,
|
||||
&iio_scan_el_accel_x.dev_attr.attr,
|
||||
&iio_const_attr_accel_x_index.dev_attr.attr,
|
||||
&iio_scan_el_accel_y.dev_attr.attr,
|
||||
&iio_const_attr_accel_y_index.dev_attr.attr,
|
||||
&iio_scan_el_accel_z.dev_attr.attr,
|
||||
&iio_const_attr_accel_z_index.dev_attr.attr,
|
||||
&iio_const_attr_accel_type.dev_attr.attr,
|
||||
&iio_scan_el_in0.dev_attr.attr,
|
||||
&iio_const_attr_in0_index.dev_attr.attr,
|
||||
&iio_const_attr_in0_type.dev_attr.attr,
|
||||
&iio_scan_el_temp.dev_attr.attr,
|
||||
&iio_const_attr_temp_index.dev_attr.attr,
|
||||
&iio_const_attr_temp_type.dev_attr.attr,
|
||||
&iio_scan_el_timestamp.dev_attr.attr,
|
||||
&iio_const_attr_timestamp_index.dev_attr.attr,
|
||||
&iio_const_attr_timestamp_type.dev_attr.attr,
|
||||
NULL,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue