aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@cam.ac.uk>2010-07-29 17:50:46 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-02 17:06:03 -0700
commit34f57cc7894b7ba124006149a0c7b5f58496b25f (patch)
treef7c6afbbe64a8cb5e28e6999ebb70fa786c532ce /drivers/staging
parent0c4a938ed4a2cd0c2d31c5c616594bae0865d7f3 (diff)
staging: iio: iio_sw_ring_helper_state - add dummy case for no buffer builds.
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/ring_sw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/iio/ring_sw.h b/drivers/staging/iio/ring_sw.h
index 0194e7fb65c..7c27e2c70f7 100644
--- a/drivers/staging/iio/ring_sw.h
+++ b/drivers/staging/iio/ring_sw.h
@@ -222,5 +222,8 @@ void iio_sw_trigger_bh_to_ring(struct work_struct *work_s);
#else /* CONFIG_IIO_RING_BUFFER*/
static inline void iio_ring_sw_register_funcs(struct iio_ring_access_funcs *ra)
{};
+struct iio_sw_ring_helper_state {
+ struct iio_dev *indio_dev;
+};
#endif /* !CONFIG_IIO_RING_BUFFER */
#endif /* _IIO_RING_SW_H_ */