summaryrefslogtreecommitdiff
path: root/drivers/iio/humidity
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2022-06-10 11:45:26 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-14 13:53:20 +0300
commit93018249a7315de5ab251751228a59f087a31d6c (patch)
treee2a97fa316a80cf0c067d03646027d12605f508c /drivers/iio/humidity
parent55ae407ae946b6766a50420f64c0a4021388b22d (diff)
downloadlinux-93018249a7315de5ab251751228a59f087a31d6c.tar.xz
iio: humidity: hts221_buffer: 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-16-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/humidity')
-rw-r--r--drivers/iio/humidity/hts221_buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/humidity/hts221_buffer.c b/drivers/iio/humidity/hts221_buffer.c
index f29692b9d2db..71ed0012fb2b 100644
--- a/drivers/iio/humidity/hts221_buffer.c
+++ b/drivers/iio/humidity/hts221_buffer.c
@@ -11,6 +11,7 @@
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/irqreturn.h>
+#include <linux/property.h>
#include <linux/regmap.h>
#include <linux/bitfield.h>