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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
1 parent d9995cd commit 58ebe7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)