Skip to content

Commit

Permalink
iio:buffer.h include pushdown into buffer implementations
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Lars-Peter Clausen <[email protected]>
  • Loading branch information
jic23 committed Jan 10, 2017
1 parent 8abd5ba commit 19a5a8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/iio/buffer/industrialio-buffer-cb.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/export.h>
#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
#include <linux/iio/consumer.h>

Expand Down
1 change: 1 addition & 0 deletions drivers/iio/buffer/kfifo_buf.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <linux/workqueue.h>
#include <linux/kfifo.h>
#include <linux/mutex.h>
#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
#include <linux/iio/kfifo_buf.h>
#include <linux/sched.h>
Expand Down

0 comments on commit 19a5a8a

Please sign in to comment.