aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2022-06-10 10:45:23 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-14 11:53:20 +0100
commit1f0350557b395054b8f32ffba8b5c8709f762f6b (patch)
tree8768978e172d42aa291b80bb64663a0c2bf3c9dd
parentiio: common: cros_ec_lid_angle: explicitly add proper header files (diff)
downloadlinux-dev-1f0350557b395054b8f32ffba8b5c8709f762f6b.tar.xz
linux-dev-1f0350557b395054b8f32ffba8b5c8709f762f6b.zip
iio: common: cros_ec_sensors: 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-13-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c b/drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c
index 376a5b30010a..61e07a7bb199 100644
--- a/drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c
+++ b/drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c
@@ -16,6 +16,7 @@
#include <linux/iio/trigger_consumer.h>
#include <linux/iio/triggered_buffer.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>