summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/stm32-dac.c
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2022-06-10 11:45:24 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-14 13:53:20 +0300
commit2a53b91c23f2afbacdd9cc05a98613a09d431b9b (patch)
tree232af9d1905d44d32440d31db951119791a768e3 /drivers/iio/dac/stm32-dac.c
parent1f0350557b395054b8f32ffba8b5c8709f762f6b (diff)
downloadlinux-2a53b91c23f2afbacdd9cc05a98613a09d431b9b.tar.xz
iio: dac: stm32-dac: 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-14-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac/stm32-dac.c')
-rw-r--r--drivers/iio/dac/stm32-dac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/dac/stm32-dac.c b/drivers/iio/dac/stm32-dac.c
index daa42bcbae83..0de1b09b92f7 100644
--- a/drivers/iio/dac/stm32-dac.c
+++ b/drivers/iio/dac/stm32-dac.c
@@ -12,6 +12,8 @@
#include <linux/iio/iio.h>
#include <linux/kernel.h>
#include <linux/module.h>
+#include <linux/mod_devicetable.h>
+#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>