diff options
Diffstat (limited to 'include/linux/iio/triggered_event.h')
-rw-r--r-- | include/linux/iio/triggered_event.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/iio/triggered_event.h b/include/linux/iio/triggered_event.h new file mode 100644 index 000000000000..8fe8537085bb --- /dev/null +++ b/include/linux/iio/triggered_event.h | |||
@@ -0,0 +1,11 @@ | |||
1 | #ifndef _LINUX_IIO_TRIGGERED_EVENT_H_ | ||
2 | #define _LINUX_IIO_TRIGGERED_EVENT_H_ | ||
3 | |||
4 | #include <linux/interrupt.h> | ||
5 | |||
6 | int iio_triggered_event_setup(struct iio_dev *indio_dev, | ||
7 | irqreturn_t (*h)(int irq, void *p), | ||
8 | irqreturn_t (*thread)(int irq, void *p)); | ||
9 | void iio_triggered_event_cleanup(struct iio_dev *indio_dev); | ||
10 | |||
11 | #endif | ||