summaryrefslogtreecommitdiffstats
path: root/include/linux/iio/machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/iio/machine.h')
-rw-r--r--include/linux/iio/machine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/iio/machine.h b/include/linux/iio/machine.h
index 809a3f08d5a..1601a2a63a7 100644
--- a/include/linux/iio/machine.h
+++ b/include/linux/iio/machine.h
@@ -19,11 +19,13 @@
* @consumer_dev_name: Name to uniquely identify the consumer device.
* @consumer_channel: Unique name used to identify the channel on the
* consumer side.
+ * @consumer_data: Data about the channel for use by the consumer driver.
*/
struct iio_map {
const char *adc_channel_label;
const char *consumer_dev_name;
const char *consumer_channel;
+ void *consumer_data;
};
#endif