diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2020-06-30 07:57:08 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-07-07 22:24:07 +0300 |
commit | fa83c3baa539a7ec734c7ee65fad499122f427d7 (patch) | |
tree | cd3af97af709440b17ea93b0a21e0be1cec56f23 /include/linux/iio/iio-opaque.h | |
parent | 6a8c6b26f7531a85803380911c7c4a05a639afbe (diff) | |
download | linux-fa83c3baa539a7ec734c7ee65fad499122f427d7.tar.xz |
iio: core: move event interface on the opaque struct
Same as with other private fields, this moves the event interface reference
to the opaque IIO device object, to be invisible to drivers.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/iio/iio-opaque.h')
-rw-r--r-- | include/linux/iio/iio-opaque.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/iio/iio-opaque.h b/include/linux/iio/iio-opaque.h index af6c69a40169..f2e94196d31f 100644 --- a/include/linux/iio/iio-opaque.h +++ b/include/linux/iio/iio-opaque.h @@ -6,6 +6,7 @@ /** * struct iio_dev_opaque - industrial I/O device opaque information * @indio_dev: public industrial I/O device information + * @event_interface: event chrdevs associated with interrupt lines * @buffer_list: list of all buffers currently attached * @channel_attr_list: keep track of automatically created channel * attributes @@ -17,6 +18,7 @@ */ struct iio_dev_opaque { struct iio_dev indio_dev; + struct iio_event_interface *event_interface; struct list_head buffer_list; struct list_head channel_attr_list; struct attribute_group chan_attr_group; |