summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/berlin2-adc.c
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2022-06-10 10:45:14 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-14 12:53:20 +0200
commit34de6b50ddb6d2ad73fb70e156e5586266d5eef0 (patch)
treea48a513d2d3dacdee295466d2344f7b6b8bbec80 /drivers/iio/adc/berlin2-adc.c
parentiio: adc: ad7606_par: explicitly add proper header files (diff)
downloadlinux-34de6b50ddb6d2ad73fb70e156e5586266d5eef0.tar.xz
linux-34de6b50ddb6d2ad73fb70e156e5586266d5eef0.zip
iio: adc: berlin2-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-4-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/berlin2-adc.c')
-rw-r--r--drivers/iio/adc/berlin2-adc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/adc/berlin2-adc.c b/drivers/iio/adc/berlin2-adc.c
index 03987d7e6b3d..3d2e8b4db61a 100644
--- a/drivers/iio/adc/berlin2-adc.c
+++ b/drivers/iio/adc/berlin2-adc.c
@@ -15,7 +15,9 @@
#include <linux/iio/machine.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
+#include <linux/mod_devicetable.h>
#include <linux/module.h>
+#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/mfd/syscon.h>