summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2022-06-10 10:45:28 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-14 11:53:20 +0100
commitca27395f1b9511830a3a5c65a1ad444c2923cbc2 (patch)
tree172a3d31c75905c540c04dd7e75860673707ebb9 /drivers/iio
parentca07e6bb4e5a3d544ff8fba7d7ad05462c6715c3 (diff)
downloadlinux-stable-ca27395f1b9511830a3a5c65a1ad444c2923cbc2.tar.gz
linux-stable-ca27395f1b9511830a3a5c65a1ad444c2923cbc2.tar.bz2
linux-stable-ca27395f1b9511830a3a5c65a1ad444c2923cbc2.zip
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>
Diffstat (limited to 'drivers/iio')
-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>