415f792447
This patch moves the reference IIO dummy driver from drivers/staging/iio into a separate folder, drivers/iio/dummy and adds the proper Kconfig and Makefile for it. A new config menu entry called IIO dummy driver has also been added in the Industrial I/O support menu, corresponding to this driver. Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
14 lines
283 B
C
14 lines
283 B
C
#ifndef _IIO_DUMMY_EVGEN_H_
|
|
#define _IIO_DUMMY_EVGEN_H_
|
|
|
|
struct iio_dummy_regs {
|
|
u32 reg_id;
|
|
u32 reg_data;
|
|
};
|
|
|
|
struct iio_dummy_regs *iio_dummy_evgen_get_regs(int irq);
|
|
int iio_dummy_evgen_get_irq(void);
|
|
void iio_dummy_evgen_release_irq(int irq);
|
|
|
|
#endif /* _IIO_DUMMY_EVGEN_H_ */
|