Skip to content

Commit

Permalink
staging: iio: adis16350 add dummy ring functions for no ring build case
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Aug 3, 2010
1 parent b98c9e6 commit 073e537
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/staging/iio/imu/adis16350.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */

0 comments on commit 073e537

Please sign in to comment.