|
@@ -98,6 +98,9 @@ struct iio_const_attr {
|
|
|
struct iio_dev_attr iio_dev_attr_##_name \
|
|
|
= IIO_ATTR(_name, _mode, _show, _store, _addr)
|
|
|
|
|
|
+#define IIO_DEVICE_ATTR_NAMED(_vname, _name, _mode, _show, _store, _addr) \
|
|
|
+ struct iio_dev_attr iio_dev_attr_##_vname \
|
|
|
+ = IIO_ATTR(_name, _mode, _show, _store, _addr)
|
|
|
|
|
|
#define IIO_DEVICE_ATTR_2(_name, _mode, _show, _store, _addr, _val2) \
|
|
|
struct iio_dev_attr iio_dev_attr_##_name \
|