summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure
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 12:53:20 +0200
commitca27395f1b9511830a3a5c65a1ad444c2923cbc2 (patch)
tree172a3d31c75905c540c04dd7e75860673707ebb9 /drivers/iio/pressure
parentiio: light: cros_ec_light_prox: explicitly add proper header files (diff)
downloadlinux-ca27395f1b9511830a3a5c65a1ad444c2923cbc2.tar.xz
linux-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/pressure')
-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>