summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dummy
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/dummy
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 'drivers/iio/dummy')
-rw-r--r--drivers/iio/dummy/iio_simple_dummy_buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/dummy/iio_simple_dummy_buffer.c b/drivers/iio/dummy/iio_simple_dummy_buffer.c
index b383892a5193..26bddb2464b7 100644
--- a/drivers/iio/dummy/iio_simple_dummy_buffer.c
+++ b/drivers/iio/dummy/iio_simple_dummy_buffer.c
@@ -20,6 +20,7 @@
#include <linux/iio/iio.h>
#include <linux/iio/trigger_consumer.h>
+#include <linux/iio/buffer.h>
#include <linux/iio/kfifo_buf.h>
#include "iio_simple_dummy.h"