From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tarvos.retrosnub.co.uk ([217.168.153.95]:60386 "EHLO tarvos.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933927AbdABT3A (ORCPT ); Mon, 2 Jan 2017 14:29:00 -0500 From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Daniel Baluta , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Jonathan Cameron Subject: [PATCH 08/11] iio:buffer.h include pushdown into buffer implementations Date: Mon, 2 Jan 2017 19:28:31 +0000 Message-Id: <20170102192834.26546-9-jic23@kernel.org> In-Reply-To: <20170102192834.26546-1-jic23@kernel.org> References: <20170102192834.26546-1-jic23@kernel.org> Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org 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 --- drivers/iio/buffer/industrialio-buffer-cb.c | 1 + drivers/iio/buffer/kfifo_buf.c | 1 + 2 files changed, 2 insertions(+) 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 c5b999f0c519..2267ce190335 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 -- 2.11.0