[PATCH 15/34] iio: humidity: hts221_buffer: explicitly add proper header files
Nuno Sá
nuno.sa at analog.com
Fri Jun 10 01:45:26 PDT 2022
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 at analog.com>
---
drivers/iio/humidity/hts221_buffer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/humidity/hts221_buffer.c b/drivers/iio/humidity/hts221_buffer.c
index f29692b9d2db..9010e355754e 100644
--- a/drivers/iio/humidity/hts221_buffer.c
+++ b/drivers/iio/humidity/hts221_buffer.c
@@ -13,6 +13,7 @@
#include <linux/irqreturn.h>
#include <linux/regmap.h>
#include <linux/bitfield.h>
+#include <linux/property.h>
#include <linux/iio/iio.h>
#include <linux/iio/trigger.h>
--
2.36.1
More information about the Linux-mediatek
mailing list