diff options
author | Nuno Sá <nuno.sa@analog.com> | 2022-06-10 10:45:24 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-14 11:53:20 +0100 |
commit | 2a53b91c23f2afbacdd9cc05a98613a09d431b9b (patch) | |
tree | 232af9d1905d44d32440d31db951119791a768e3 /drivers/iio | |
parent | 1f0350557b395054b8f32ffba8b5c8709f762f6b (diff) | |
download | linux-2a53b91c23f2afbacdd9cc05a98613a09d431b9b.tar.bz2 |
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')
-rw-r--r-- | drivers/iio/dac/stm32-dac.c | 2 |
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> |