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/staging | |
parent | b98c9e60a44645737fa2ffef9a2d1ef2243c50d5 (diff) | |
download | kernel_samsung_smdk4412-073e5371e253f80fb41cf915a0abd2f1b0e8d410.zip kernel_samsung_smdk4412-073e5371e253f80fb41cf915a0abd2f1b0e8d410.tar.gz kernel_samsung_smdk4412-073e5371e253f80fb41cf915a0abd2f1b0e8d410.tar.bz2 |
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/staging')
-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 738deba..b00001e 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_ */ |