summaryrefslogtreecommitdiff
path: root/include/linux/iio/trigger_consumer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/iio/trigger_consumer.h')
-rw-r--r--include/linux/iio/trigger_consumer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/iio/trigger_consumer.h b/include/linux/iio/trigger_consumer.h
index 60d64b356945..762a3d3ee547 100644
--- a/include/linux/iio/trigger_consumer.h
+++ b/include/linux/iio/trigger_consumer.h
@@ -7,6 +7,9 @@
* the Free Software Foundation.
*/
+#ifndef __LINUX_IIO_TRIGGER_CONSUMER_H__
+#define __LINUX_IIO_TRIGGER_CONSUMER_H__
+
/**
* struct iio_poll_func - poll function pair
*
@@ -50,3 +53,5 @@ void iio_trigger_notify_done(struct iio_trigger *trig);
*/
int iio_triggered_buffer_postenable(struct iio_dev *indio_dev);
int iio_triggered_buffer_predisable(struct iio_dev *indio_dev);
+
+#endif