projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: (pmbus) Explicitly set regulator type for pmbus_regulator_ops
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hwmon
/
pmbus
/
pmbus.h
diff --git
a/drivers/hwmon/pmbus/pmbus.h
b/drivers/hwmon/pmbus/pmbus.h
index 89a23ff836e71752bf113ad4f0c48da35af5e89a..21f8b2fa7fc45a7c9dc6bac4e51f022331146de5 100644
(file)
--- a/
drivers/hwmon/pmbus/pmbus.h
+++ b/
drivers/hwmon/pmbus/pmbus.h
@@
-390,6
+390,7
@@
extern struct regulator_ops pmbus_regulator_ops;
.of_match = of_match_ptr(_name # _id), \
.regulators_node = of_match_ptr("regulators"), \
.ops = &pmbus_regulator_ops, \
+ .type = REGULATOR_VOLTAGE, \
.owner = THIS_MODULE, \
}