From: Jonathan Cameron Date: Tue, 21 Sep 2010 13:41:01 +0000 (+0100) Subject: staging: iio: adis16260 add _index attribute registration X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c045e44dfc7099caf6352437fa6d1faee47447ac;p=linux-beck.git staging: iio: adis16260 add _index attribute registration Signed-off-by: Jonathan Cameron Signed-off-by: Manuel Stahl Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/iio/gyro/adis16260_ring.c b/drivers/staging/iio/gyro/adis16260_ring.c index 77dca37c9e99..23428894b1ee 100644 --- a/drivers/staging/iio/gyro/adis16260_ring.c +++ b/drivers/staging/iio/gyro/adis16260_ring.c @@ -33,16 +33,22 @@ static IIO_CONST_ATTR_SCAN_EL_TYPE(timestamp, s, 64, 64); static struct attribute *adis16260_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_gyro.dev_attr.attr, + &iio_const_attr_gyro_index.dev_attr.attr, &iio_const_attr_gyro_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_angl.dev_attr.attr, + &iio_const_attr_angl_index.dev_attr.attr, &iio_const_attr_angl_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, };