diff options
author | Nuno Sá <nuno.sa@analog.com> | 2022-06-10 10:45:16 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-14 11:53:20 +0100 |
commit | c2bb705f45c610c956e80ef5255462ece072ebf9 (patch) | |
tree | b602b165842bf9e9032d8317d0f80a5565894731 | |
parent | 848d190104086168ae8f5da605aa6171558b8f72 (diff) | |
download | linux-stable-c2bb705f45c610c956e80ef5255462ece072ebf9.tar.gz linux-stable-c2bb705f45c610c956e80ef5255462ece072ebf9.tar.bz2 linux-stable-c2bb705f45c610c956e80ef5255462ece072ebf9.zip |
iio: adc: imx8qxp-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-6-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r-- | drivers/iio/adc/imx8qxp-adc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/imx8qxp-adc.c b/drivers/iio/adc/imx8qxp-adc.c index 901dd8e1b32f..e8c9a69e10eb 100644 --- a/drivers/iio/adc/imx8qxp-adc.c +++ b/drivers/iio/adc/imx8qxp-adc.c @@ -19,6 +19,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/pm_runtime.h> |