| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
|---|---|
| 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 |
| 13 |
