hwmon: max31827: include regulator header
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Tue, 31 Oct 2023 09:13:24 +0000 (11:13 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 14 Nov 2023 13:32:47 +0000 (05:32 -0800)
Include `linux/regulator/consumer.h` since the driver is using
`devm_regulator_get_enable` function.

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Link: https://lore.kernel.org/r/20231031091324.23991-1-antoniu.miclaus@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/max31827.c

index fd1fed1a797cd4ed2ae14b98dc09088cde292e4b..a1ce6514566912424c42a87af8e255da7fff29d1 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/i2c.h>
 #include <linux/mutex.h>
 #include <linux/regmap.h>
+#include <linux/regulator/consumer.h>
 
 #define MAX31827_T_REG                 0x0
 #define MAX31827_CONFIGURATION_REG     0x2