#ifndef __IIO_SW_DEVICE
#define __IIO_SW_DEVICE
#include <linux/module.h>
#include <linux/device.h>
#include <linux/iio/iio.h>
#include <linux/configfs.h>
#define module_iio_sw_device_driver(__iio_sw_device_type) …
struct iio_sw_device_ops;
struct iio_sw_device_type { … };
struct iio_sw_device { … };
struct iio_sw_device_ops { … };
static inline
struct iio_sw_device *to_iio_sw_device(struct config_item *item)
{ … }
int iio_register_sw_device_type(struct iio_sw_device_type *dt);
void iio_unregister_sw_device_type(struct iio_sw_device_type *dt);
struct iio_sw_device *iio_sw_device_create(const char *, const char *);
void iio_sw_device_destroy(struct iio_sw_device *);
static inline
void iio_swd_group_init_type_name(struct iio_sw_device *d,
const char *name,
const struct config_item_type *type)
{ … }
#endif