From: Jonathan Cameron Date: Mon, 2 Jan 2017 19:28:31 +0000 (+0000) Subject: iio:buffer.h include pushdown into buffer implementations X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=19a5a8a5dceeaea03aac6883541b4ec9ed42a833;p=linux.git 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 Reviewed-by: Lars-Peter Clausen --- diff --git a/drivers/iio/buffer/industrialio-buffer-cb.c b/drivers/iio/buffer/industrialio-buffer-cb.c index b8f550e47d3da..79fb2f9de7594 100644 --- a/drivers/iio/buffer/industrialio-buffer-cb.c +++ b/drivers/iio/buffer/industrialio-buffer-cb.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include diff --git a/drivers/iio/buffer/kfifo_buf.c b/drivers/iio/buffer/kfifo_buf.c index c035ed1d5ee15..a47118e7db6f9 100644 --- a/drivers/iio/buffer/kfifo_buf.c +++ b/drivers/iio/buffer/kfifo_buf.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include