]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: iio: iio_sw_ring_helper_state - add dummy case for no buffer builds.
authorJonathan Cameron <jic23@cam.ac.uk>
Thu, 29 Jul 2010 16:50:46 +0000 (17:50 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 Aug 2010 00:06:03 +0000 (17:06 -0700)
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>
drivers/staging/iio/ring_sw.h

index 0194e7fb65cad76f4dfbf746e17b3e00767367bc..7c27e2c70f7726228d03da8989670231b851e686 100644 (file)
@@ -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_ */