blob: 13250fd99745a782e3b498ef59751dda7ebbb4d8 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Vladimir Barinov735ad072015-08-20 22:37:39 +03002#ifndef _LINUX_IIO_TRIGGERED_EVENT_H_
3#define _LINUX_IIO_TRIGGERED_EVENT_H_
4
5#include <linux/interrupt.h>
6
7int 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));
10void iio_triggered_event_cleanup(struct iio_dev *indio_dev);
11
12#endif