|
@@ -18,10 +18,12 @@ struct iio_chan_spec;
|
|
|
* struct iio_channel - everything needed for a consumer to use a channel
|
|
|
* @indio_dev: Device on which the channel exists.
|
|
|
* @channel: Full description of the channel.
|
|
|
+ * @data: Data about the channel used by consumer.
|
|
|
*/
|
|
|
struct iio_channel {
|
|
|
struct iio_dev *indio_dev;
|
|
|
const struct iio_chan_spec *channel;
|
|
|
+ void *data;
|
|
|
};
|
|
|
|
|
|
/**
|