summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2022-06-10 10:45:25 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-14 11:53:20 +0100
commit55ae407ae946b6766a50420f64c0a4021388b22d (patch)
treef32dd1d04f41b4aee2490b86a123e0e58afcfa8e /drivers/iio/dac
parent2a53b91c23f2afbacdd9cc05a98613a09d431b9b (diff)
downloadlinux-55ae407ae946b6766a50420f64c0a4021388b22d.tar.bz2
iio: dac: vf610_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-15-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac')
-rw-r--r--drivers/iio/dac/vf610_dac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/dac/vf610_dac.c b/drivers/iio/dac/vf610_dac.c
index 92429c0d2685..fc182250c622 100644
--- a/drivers/iio/dac/vf610_dac.c
+++ b/drivers/iio/dac/vf610_dac.c
@@ -10,6 +10,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>