projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c4a938
)
staging: iio: iio_sw_ring_helper_state - add dummy case for no buffer builds.
author
Jonathan Cameron
<jic23@cam.ac.uk>
Thu, 29 Jul 2010 16:50:46 +0000
(17:50 +0100)
committer
Greg 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/iio/ring_sw.h
b/drivers/staging/iio/ring_sw.h
index 0194e7fb65cad76f4dfbf746e17b3e00767367bc..7c27e2c70f7726228d03da8989670231b851e686 100644
(file)
--- 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_ */