diff options
author | Nuno Sá <nuno.sa@analog.com> | 2022-06-10 10:45:17 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-14 12:53:20 +0200 |
commit | 4738b57a6c123167f1af73bbe2fb762dde6ad001 (patch) | |
tree | a5353915c3875e1e8e531c8b47538f2dadf0113f /drivers/iio/adc/ingenic-adc.c | |
parent | iio: adc: imx8qxp-adc: explicitly add proper header files (diff) | |
download | linux-4738b57a6c123167f1af73bbe2fb762dde6ad001.tar.xz linux-4738b57a6c123167f1af73bbe2fb762dde6ad001.zip |
iio: adc: ingenic-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-7-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/ingenic-adc.c')
-rw-r--r-- | drivers/iio/adc/ingenic-adc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/adc/ingenic-adc.c b/drivers/iio/adc/ingenic-adc.c index 2b3912c6ca6b..bf5c03c34f84 100644 --- a/drivers/iio/adc/ingenic-adc.c +++ b/drivers/iio/adc/ingenic-adc.c @@ -17,7 +17,9 @@ #include <linux/module.h> #include <linux/mod_devicetable.h> #include <linux/mutex.h> +#include <linux/of.h> #include <linux/platform_device.h> +#include <linux/property.h> #define JZ_ADC_REG_ENABLE 0x00 #define JZ_ADC_REG_CFG 0x04 |