Skip to content

Commit 58ebe7f

Browse files
amiclausgroeck
authored andcommitted
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 <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>
1 parent d9995cd commit 58ebe7f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/hwmon/max31827.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <linux/i2c.h>
1313
#include <linux/mutex.h>
1414
#include <linux/regmap.h>
15+
#include <linux/regulator/consumer.h>
1516

1617
#define MAX31827_T_REG 0x0
1718
#define MAX31827_CONFIGURATION_REG 0x2

0 commit comments

Comments
 (0)