summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-01-02 19:28:30 +0000
committerJonathan Cameron <jic23@kernel.org>2017-01-10 19:54:53 +0000
commit8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1 (patch)
treea35b916c2fab0685c86c35a8c024c7436cbfa2ff /include
parentd4ad4f4b721ad76e28b73e32b8602c011e281893 (diff)
downloadop-kernel-dev-8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1.zip
op-kernel-dev-8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1.tar.gz
iio:kfifo_buf header include push down.
As a precursor to splitting buffer.h, lets make sure all drivers include the relevant headers rather than relying on picking them up from kfifo_buf.h. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/iio/kfifo_buf.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/iio/kfifo_buf.h b/include/linux/iio/kfifo_buf.h
index 1683bc7..027cfa9 100644
--- a/include/linux/iio/kfifo_buf.h
+++ b/include/linux/iio/kfifo_buf.h
@@ -1,9 +1,8 @@
#ifndef __LINUX_IIO_KFIFO_BUF_H__
#define __LINUX_IIO_KFIFO_BUF_H__
-#include <linux/kfifo.h>
-#include <linux/iio/iio.h>
-#include <linux/iio/buffer.h>
+struct iio_buffer;
+struct device;
struct iio_buffer *iio_kfifo_allocate(void);
void iio_kfifo_free(struct iio_buffer *r);
OpenPOWER on IntegriCloud