Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Vladimir Barinov | 735ad07 | 2015-08-20 22:37:39 +0300 | [diff] [blame] | 2 | #ifndef _LINUX_IIO_TRIGGERED_EVENT_H_ |
3 | #define _LINUX_IIO_TRIGGERED_EVENT_H_ | ||||
4 | |||||
5 | #include <linux/interrupt.h> | ||||
6 | |||||
7 | int iio_triggered_event_setup(struct iio_dev *indio_dev, | ||||
8 | irqreturn_t (*h)(int irq, void *p), | ||||
9 | irqreturn_t (*thread)(int irq, void *p)); | ||||
10 | void iio_triggered_event_cleanup(struct iio_dev *indio_dev); | ||||
11 | |||||
12 | #endif |