summaryrefslogtreecommitdiff
path: root/drivers/iio/buffer/kfifo_buf.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-01-02 22:28:30 +0300
committerJonathan Cameron <jic23@kernel.org>2017-01-10 22:54:53 +0300
commit8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1 (patch)
treea35b916c2fab0685c86c35a8c024c7436cbfa2ff /drivers/iio/buffer/kfifo_buf.c
parentd4ad4f4b721ad76e28b73e32b8602c011e281893 (diff)
downloadlinux-8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1.tar.xz
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 '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 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>