From: Jonathan Cameron Date: Thu, 29 Jul 2010 16:50:46 +0000 (+0100) Subject: staging: iio: iio_sw_ring_helper_state - add dummy case for no buffer builds. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=34f57cc7894b7ba124006149a0c7b5f58496b25f;p=linux-beck.git staging: iio: iio_sw_ring_helper_state - add dummy case for no buffer builds. Signed-off-by: Jonathan Cameron Acked-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/iio/ring_sw.h b/drivers/staging/iio/ring_sw.h index 0194e7fb65ca..7c27e2c70f77 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_ */