summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2022-06-10 10:45:15 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-14 12:53:20 +0200
commit848d190104086168ae8f5da605aa6171558b8f72 (patch)
tree0219f15174f8976d9971375164c483b48423d42f /drivers
parentiio: adc: berlin2-adc: explicitly add proper header files (diff)
downloadlinux-848d190104086168ae8f5da605aa6171558b8f72.tar.xz
linux-848d190104086168ae8f5da605aa6171558b8f72.zip
iio: adc: imx7d_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-5-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/iio/adc/imx7d_adc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/imx7d_adc.c b/drivers/iio/adc/imx7d_adc.c
index 12f5b8e34c84..119217af2bde 100644
--- a/drivers/iio/adc/imx7d_adc.c
+++ b/drivers/iio/adc/imx7d_adc.c
@@ -11,6 +11,7 @@
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/kernel.h>
+#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>