summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2022-06-10 10:45:21 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-14 12:53:20 +0200
commitd428e68a26cf0ba92f92a2db063e5f2e32cf8e92 (patch)
treee8486ea1e2a9d97e92fa5b7608c84f368229cccd /drivers/iio/adc
parentiio: adc: npcm_adc: explicitly add proper header files (diff)
downloadlinux-d428e68a26cf0ba92f92a2db063e5f2e32cf8e92.tar.xz
linux-d428e68a26cf0ba92f92a2db063e5f2e32cf8e92.zip
iio: adc: rzg2l_adc: 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-11-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc')
-rw-r--r--drivers/iio/adc/rzg2l_adc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/rzg2l_adc.c b/drivers/iio/adc/rzg2l_adc.c
index bee5f9861acb..c9403ab520d8 100644
--- a/drivers/iio/adc/rzg2l_adc.c
+++ b/drivers/iio/adc/rzg2l_adc.c
@@ -18,6 +18,7 @@
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
+#include <linux/property.h>
#include <linux/reset.h>
#define DRIVER_NAME "rzg2l-adc"