aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Sá <[email protected]>2022-06-10 10:45:28 +0200
committerJonathan Cameron <[email protected]>2022-06-14 11:53:20 +0100
commitca27395f1b9511830a3a5c65a1ad444c2923cbc2 (patch)
tree172a3d31c75905c540c04dd7e75860673707ebb9
parentca07e6bb4e5a3d544ff8fba7d7ad05462c6715c3 (diff)
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á <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
-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>