diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2010-07-29 17:50:48 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-02 17:06:03 -0700 |
commit | 073e5371e253f80fb41cf915a0abd2f1b0e8d410 (patch) | |
tree | 57ba289ec1fe01d848259f22c0700ec4a7899a1a /drivers | |
parent | b98c9e60a44645737fa2ffef9a2d1ef2243c50d5 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/iio/imu/adis16350.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/staging/iio/imu/adis16350.h b/drivers/staging/iio/imu/adis16350.h index 738debaf877..b00001e3edd 100644 --- a/drivers/staging/iio/imu/adis16350.h +++ b/drivers/staging/iio/imu/adis16350.h @@ -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_ */ |