summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/mp2629_adc.c
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2022-06-10 11:45:18 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-14 13:53:20 +0300
commit1fd4c0cd789d912ad18b05996e908301444383ed (patch)
tree5e1649532ea0ddc0ca95c601d58ea12b2e0abda7 /drivers/iio/adc/mp2629_adc.c
parent4738b57a6c123167f1af73bbe2fb762dde6ad001 (diff)
downloadlinux-1fd4c0cd789d912ad18b05996e908301444383ed.tar.xz
iio: adc: mp2629_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-8-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/mp2629_adc.c')
-rw-r--r--drivers/iio/adc/mp2629_adc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/mp2629_adc.c b/drivers/iio/adc/mp2629_adc.c
index aca084f1e78a..30a31f185d08 100644
--- a/drivers/iio/adc/mp2629_adc.c
+++ b/drivers/iio/adc/mp2629_adc.c
@@ -11,6 +11,7 @@
#include <linux/iio/iio.h>
#include <linux/iio/machine.h>
#include <linux/mfd/mp2629.h>
+#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/platform_device.h>