summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dummy
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-01-02 19:28:30 +0000
committerJonathan Cameron <jic23@kernel.org>2017-01-10 19:54:53 +0000
commit8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1 (patch)
treea35b916c2fab0685c86c35a8c024c7436cbfa2ff /drivers/iio/dummy
parentd4ad4f4b721ad76e28b73e32b8602c011e281893 (diff)
downloadlinux-stable-8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1.tar.gz
linux-stable-8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1.tar.bz2
linux-stable-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"