Commit 58ebe7fb authored by Antoniu Miclaus's avatar Antoniu Miclaus Committed by Guenter Roeck

hwmon: max31827: include regulator header

Include `linux/regulator/consumer.h` since the driver is using
`devm_regulator_get_enable` function.
Signed-off-by: default avatarAntoniu Miclaus <antoniu.miclaus@analog.com>
Link: https://lore.kernel.org/r/20231031091324.23991-1-antoniu.miclaus@analog.comSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent d9995cd9
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/regmap.h> #include <linux/regmap.h>
#include <linux/regulator/consumer.h>
#define MAX31827_T_REG 0x0 #define MAX31827_T_REG 0x0
#define MAX31827_CONFIGURATION_REG 0x2 #define MAX31827_CONFIGURATION_REG 0x2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment