diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-01-02 19:28:30 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-01-10 19:54:53 +0000 |
commit | 8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1 (patch) | |
tree | a35b916c2fab0685c86c35a8c024c7436cbfa2ff /drivers/iio/adc | |
parent | d4ad4f4b721ad76e28b73e32b8602c011e281893 (diff) | |
download | linux-8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1.tar.bz2 |
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 'drivers/iio/adc')
-rw-r--r-- | drivers/iio/adc/ina2xx-adc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/adc/ina2xx-adc.c b/drivers/iio/adc/ina2xx-adc.c index 59b7d76e1ad2..3263231276ca 100644 --- a/drivers/iio/adc/ina2xx-adc.c +++ b/drivers/iio/adc/ina2xx-adc.c @@ -22,6 +22,8 @@ #include <linux/delay.h> #include <linux/i2c.h> +#include <linux/iio/iio.h> +#include <linux/iio/buffer.h> #include <linux/iio/kfifo_buf.h> #include <linux/iio/sysfs.h> #include <linux/kthread.h> |