iio:buffer.h include pushdown into buffer implementations
authorJonathan Cameron <jic23@kernel.org>
Mon, 2 Jan 2017 19:28:31 +0000 (19:28 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 10 Jan 2017 19:54:53 +0000 (19:54 +0000)
commit19a5a8a5dceeaea03aac6883541b4ec9ed42a833
treec9a974fa3599cf8fc7adece507bde562361b491d
parent8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1
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>
drivers/iio/buffer/industrialio-buffer-cb.c
drivers/iio/buffer/kfifo_buf.c