summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2022-06-10 11:45:27 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-14 13:53:20 +0300
commitca07e6bb4e5a3d544ff8fba7d7ad05462c6715c3 (patch)
tree95d448d0af0cda80835e61ca5709e510084cc09f
parent93018249a7315de5ab251751228a59f087a31d6c (diff)
downloadlinux-ca07e6bb4e5a3d544ff8fba7d7ad05462c6715c3.tar.xz
iio: light: cros_ec_light_prox: 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-17-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/light/cros_ec_light_prox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/light/cros_ec_light_prox.c b/drivers/iio/light/cros_ec_light_prox.c
index a00a8b3b86cf..e345e0f71b74 100644
--- a/drivers/iio/light/cros_ec_light_prox.c
+++ b/drivers/iio/light/cros_ec_light_prox.c
@@ -14,6 +14,7 @@
#include <linux/iio/triggered_buffer.h>
#include <linux/iio/trigger_consumer.h>
#include <linux/kernel.h>
+#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_data/cros_ec_commands.h>
#include <linux/platform_data/cros_ec_proto.h>