projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77b3d3f
)
staging: iio: sca3000 add _index attribute registration
author
Jonathan Cameron
<jic23@cam.ac.uk>
Tue, 21 Sep 2010 13:41:06 +0000
(14:41 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 21 Sep 2010 17:34:43 +0000
(10:34 -0700)
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>
drivers/staging/iio/accel/sca3000_ring.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/accel/sca3000_ring.c
b/drivers/staging/iio/accel/sca3000_ring.c
index 003097d9201cc73df38c003f4b36985eb728e80d..8186d2b2cf4fc75112e08237915c94e31fb768cc 100644
(file)
--- 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