summaryrefslogtreecommitdiffstats
path: root/drivers/iio/buffer
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-01-02 20:28:30 +0100
committerJonathan Cameron <jic23@kernel.org>2017-01-10 20:54:53 +0100
commit8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1 (patch)
treea35b916c2fab0685c86c35a8c024c7436cbfa2ff /drivers/iio/buffer
parentiio:buffer:iio_push_to_buffers_with_timestamp fix kernel-doc. (diff)
downloadlinux-8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1.tar.xz
linux-8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1.zip
iio:kfifo_buf header include push down.
As a precursor to splitting buffer.h, lets make sure all drivers include the relevant headers rather than relying on picking them up from kfifo_buf.h. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to '')
-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 c5b999f0c519..c035ed1d5ee1 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/buffer.h>
#include <linux/iio/kfifo_buf.h>
#include <linux/sched.h>
#include <linux/poll.h>