diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-01-02 20:28:31 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-01-10 20:54:53 +0100 |
commit | 19a5a8a5dceeaea03aac6883541b4ec9ed42a833 (patch) | |
tree | c9a974fa3599cf8fc7adece507bde562361b491d /drivers/iio/buffer/kfifo_buf.c | |
parent | iio:kfifo_buf header include push down. (diff) | |
download | linux-19a5a8a5dceeaea03aac6883541b4ec9ed42a833.tar.xz linux-19a5a8a5dceeaea03aac6883541b4ec9ed42a833.zip |
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 '')
-rw-r--r-- | drivers/iio/buffer/kfifo_buf.c | 1 |
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> |