diff options
-rw-r--r-- | drivers/regulator/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 1f314921774d..6a75794ab20d 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c | |||
@@ -121,7 +121,7 @@ static const char *rdev_get_name(struct regulator_dev *rdev) | |||
121 | 121 | ||
122 | static bool have_full_constraints(void) | 122 | static bool have_full_constraints(void) |
123 | { | 123 | { |
124 | return has_full_constraints; | 124 | return has_full_constraints || of_have_populated_dt(); |
125 | } | 125 | } |
126 | 126 | ||
127 | /** | 127 | /** |