diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2010-09-21 14:41:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-21 10:34:42 -0700 |
commit | 6d2174f43832d6ad7cb6d4772046d3e05cf21d1e (patch) | |
tree | 6c9f6c536f21c8897216f66738866ed95c5589d1 /drivers/staging/iio | |
parent | 49624fa833668011e4b70de5df6941d8df3f0af1 (diff) | |
download | blackbird-op-linux-6d2174f43832d6ad7cb6d4772046d3e05cf21d1e.tar.gz blackbird-op-linux-6d2174f43832d6ad7cb6d4772046d3e05cf21d1e.zip |
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>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r-- | drivers/staging/iio/accel/adis16240_ring.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/staging/iio/accel/adis16240_ring.c b/drivers/staging/iio/accel/adis16240_ring.c index ae022683515b..f882e9c150e2 100644 --- a/drivers/staging/iio/accel/adis16240_ring.c +++ b/drivers/staging/iio/accel/adis16240_ring.c @@ -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, }; |