summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2022-06-10 10:45:19 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-14 11:53:20 +0100
commite335cd347e6eb9cae6180a120e7c34ed70ccbede (patch)
tree13a96d48fe4c427e17036a95e091fe53512b4bc4
parent1fd4c0cd789d912ad18b05996e908301444383ed (diff)
downloadlinux-e335cd347e6eb9cae6180a120e7c34ed70ccbede.tar.gz
linux-e335cd347e6eb9cae6180a120e7c34ed70ccbede.zip
iio: adc: mt6360-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-9-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/adc/mt6360-adc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/mt6360-adc.c b/drivers/iio/adc/mt6360-adc.c
index 07c0e6768391..35260d9e4e47 100644
--- a/drivers/iio/adc/mt6360-adc.c
+++ b/drivers/iio/adc/mt6360-adc.c
@@ -5,6 +5,7 @@
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/ktime.h>
+#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/platform_device.h>