#ifndef __IIO_SW_TRIGGER
#define __IIO_SW_TRIGGER
#include <linux/module.h>
#include <linux/device.h>
#include <linux/iio/iio.h>
#include <linux/configfs.h>
#define module_iio_sw_trigger_driver(__iio_sw_trigger_type) …
struct iio_sw_trigger_ops;
struct iio_sw_trigger_type { … };
struct iio_sw_trigger { … };
struct iio_sw_trigger_ops { … };
static inline
struct iio_sw_trigger *to_iio_sw_trigger(struct config_item *item)
{ … }
int iio_register_sw_trigger_type(struct iio_sw_trigger_type *tt);
void iio_unregister_sw_trigger_type(struct iio_sw_trigger_type *tt);
struct iio_sw_trigger *iio_sw_trigger_create(const char *, const char *);
void iio_sw_trigger_destroy(struct iio_sw_trigger *);
static inline
void iio_swt_group_init_type_name(struct iio_sw_trigger *t,
const char *name,
const struct config_item_type *type)
{ … }
#endif