From: Antoniu Miclaus Date: Tue, 31 Oct 2023 09:13:24 +0000 (+0200) Subject: hwmon: max31827: include regulator header X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=58ebe7fb6eb2deed0fd05cf57911fea3f36124eb;p=linux.git hwmon: max31827: include regulator header Include `linux/regulator/consumer.h` since the driver is using `devm_regulator_get_enable` function. Signed-off-by: Antoniu Miclaus Link: https://lore.kernel.org/r/20231031091324.23991-1-antoniu.miclaus@analog.com Signed-off-by: Guenter Roeck --- diff --git a/drivers/hwmon/max31827.c b/drivers/hwmon/max31827.c index fd1fed1a797cd..a1ce651456691 100644 --- a/drivers/hwmon/max31827.c +++ b/drivers/hwmon/max31827.c @@ -12,6 +12,7 @@ #include #include #include +#include #define MAX31827_T_REG 0x0 #define MAX31827_CONFIGURATION_REG 0x2