staging: iio: adis16350 add dummy ring functions for no ring build case
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
b98c9e60a4
commit
073e5371e2
1 changed files with 8 additions and 0 deletions
|
@ -165,5 +165,13 @@ adis16350_read_data_from_ring(struct device *dev,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline int adis16350_configure_ring(struct iio_dev *indio_dev)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static inline void adis16350_unconfigure_ring(struct iio_dev *indio_dev)
|
||||||
|
{
|
||||||
|
}
|
||||||
#endif /* CONFIG_IIO_RING_BUFFER */
|
#endif /* CONFIG_IIO_RING_BUFFER */
|
||||||
#endif /* SPI_ADIS16350_H_ */
|
#endif /* SPI_ADIS16350_H_ */
|
||||||
|
|
Loading…
Reference in a new issue