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:
Jonathan Cameron 2010-07-29 17:50:48 +01:00 committed by Greg Kroah-Hartman
parent b98c9e60a4
commit 073e5371e2

View file

@ -165,5 +165,13 @@ adis16350_read_data_from_ring(struct device *dev,
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 /* SPI_ADIS16350_H_ */