From 16b5c2ea7fb9d264564ee53a01ed2b7327bf2ec6 Mon Sep 17 00:00:00 2001 From: Antoniu Miclaus Date: Fri, 3 Nov 2023 16:14:14 +0200 Subject: [PATCH] hwmon: max31827: include regulator header Include `linux/regulator/consumer.h` since the driver is using `devm_regulator_get_enable` function. Link: https://lore.kernel.org/all/20231031091324.23991-1-antoniu.miclaus@analog.com/ Signed-off-by: Antoniu Miclaus --- drivers/hwmon/max31827.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwmon/max31827.c b/drivers/hwmon/max31827.c index 3284cba091d8f..7fbee7da6a28b 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