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: https://git.stricted.de/?a=commitdiff_plain;h=19a5a8a5dceeaea03aac6883541b4ec9ed42a833;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 b8f550e47d3d..79fb2f9de759 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 c035ed1d5ee1..a47118e7db6f 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