summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2022-06-10 11:45:28 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-14 13:53:20 +0300
commitca27395f1b9511830a3a5c65a1ad444c2923cbc2 (patch)
tree172a3d31c75905c540c04dd7e75860673707ebb9
parentca07e6bb4e5a3d544ff8fba7d7ad05462c6715c3 (diff)
downloadlinux-ca27395f1b9511830a3a5c65a1ad444c2923cbc2.tar.xz
iio: pressure: cros_ec_baro: 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-18-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/pressure/cros_ec_baro.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/pressure/cros_ec_baro.c b/drivers/iio/pressure/cros_ec_baro.c
index 1d9d34ae3c0a..25217279f350 100644
--- a/drivers/iio/pressure/cros_ec_baro.c
+++ b/drivers/iio/pressure/cros_ec_baro.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/slab.h>
#include <linux/platform_data/cros_ec_commands.h>