aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Sá2022-06-10 10:45:12 +0200
committerJonathan Cameron2022-06-14 11:53:19 +0100
commitae3babe1c4663c67041243c0cc01ed109a45d74c (patch)
tree0a66225230b06d181e58e4148f6156fe38209211
parent10897f34309b3c7bc14698407436c82d11c07f47 (diff)
iio: adc: ad7606: explicitly add proper header files
Do not trust the fact that iio.h includes of.h which in turn includes all the headers we are relying on. The ultimate goal is to actually drop of.h from iio.h. Signed-off-by: Nuno Sá <nuno.sa@analog.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20220610084545.547700-2-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/adc/ad7606.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/ad7606.c b/drivers/iio/adc/ad7606.c
index 3b193dc26438..ba24f99523e0 100644
--- a/drivers/iio/adc/ad7606.c
+++ b/drivers/iio/adc/ad7606.c
@@ -12,6 +12,7 @@
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
+#include <linux/property.h>
#include <linux/regulator/consumer.h>
#include <linux/sched.h>
#include <linux/slab.h>