Vladimir Barinov | 735ad07 | 2015-08-20 22:37:39 +0300 | [diff] [blame] | 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 |