diff options
author | Antoniu Miclaus <antoniu.miclaus@analog.com> | 2023-10-31 11:13:24 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-11-14 05:32:47 -0800 |
commit | 58ebe7fb6eb2deed0fd05cf57911fea3f36124eb (patch) | |
tree | 2d2c6bf3f55810fc67da45e7c77669b859e2c2c1 /drivers/hwmon/max31827.c | |
parent | d9995cd96928fa72963293fa5ca87350fed16930 (diff) | |
download | linux-stable-58ebe7fb6eb2deed0fd05cf57911fea3f36124eb.tar.gz linux-stable-58ebe7fb6eb2deed0fd05cf57911fea3f36124eb.tar.bz2 linux-stable-58ebe7fb6eb2deed0fd05cf57911fea3f36124eb.zip |
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>
Diffstat (limited to 'drivers/hwmon/max31827.c')
-rw-r--r-- | drivers/hwmon/max31827.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/max31827.c b/drivers/hwmon/max31827.c index fd1fed1a797c..a1ce65145669 100644 --- a/drivers/hwmon/max31827.c +++ b/drivers/hwmon/max31827.c @@ -12,6 +12,7 @@ #include <linux/i2c.h> #include <linux/mutex.h> #include <linux/regmap.h> +#include <linux/regulator/consumer.h> #define MAX31827_T_REG 0x0 #define MAX31827_CONFIGURATION_REG 0x2 |