summaryrefslogtreecommitdiff
path: root/drivers/iio/buffer/kfifo_buf.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-01-02 22:28:31 +0300
committerJonathan Cameron <jic23@kernel.org>2017-01-10 22:54:53 +0300
commit19a5a8a5dceeaea03aac6883541b4ec9ed42a833 (patch)
treec9a974fa3599cf8fc7adece507bde562361b491d /drivers/iio/buffer/kfifo_buf.c
parent8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1 (diff)
downloadlinux-19a5a8a5dceeaea03aac6883541b4ec9ed42a833.tar.xz
iio:buffer.h include pushdown into buffer implementations
These were only getting access to the internals of struct iio_dev via the include of iio.h within buffer.h. This should always have been explicitly included by the buffer implementations themselves. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/iio/buffer/kfifo_buf.c')
-rw-r--r--drivers/iio/buffer/kfifo_buf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/buffer/kfifo_buf.c b/drivers/iio/buffer/kfifo_buf.c
index c035ed1d5ee1..a47118e7db6f 100644
--- a/drivers/iio/buffer/kfifo_buf.c
+++ b/drivers/iio/buffer/kfifo_buf.c
@@ -5,6 +5,7 @@
#include <linux/workqueue.h>
#include <linux/kfifo.h>
#include <linux/mutex.h>
+#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
#include <linux/iio/kfifo_buf.h>
#include <linux/sched.h>