diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2010-09-21 13:41:06 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-21 17:34:43 (GMT) |
commit | d16061bb6713844358abe87c82a23775ee1dd528 (patch) | |
tree | 79d6f374ac1280c4eab27ec119584d9d5e760920 /drivers/staging/iio/accel/sca3000_ring.c | |
parent | 77b3d3facfb32913a85f40156e7d4a70b18d0bd6 (diff) | |
download | linux-d16061bb6713844358abe87c82a23775ee1dd528.tar.xz |
staging: iio: sca3000 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/accel/sca3000_ring.c')
-rw-r--r-- | drivers/staging/iio/accel/sca3000_ring.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/iio/accel/sca3000_ring.c b/drivers/staging/iio/accel/sca3000_ring.c index 003097d..8186d2b 100644 --- a/drivers/staging/iio/accel/sca3000_ring.c +++ b/drivers/staging/iio/accel/sca3000_ring.c @@ -206,8 +206,11 @@ static IIO_DEVICE_ATTR(accel_type, static struct attribute *sca3000_scan_el_attrs[] = { &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_available.dev_attr.attr, &iio_dev_attr_accel_type.dev_attr.attr, NULL |