drivers/base/power/opp/core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---- a/drivers/base/power/opp/core.c
-+++ b/drivers/base/power/opp/core.c
-@@ -1280,11 +1280,13 @@ struct opp_table *dev_pm_opp_set_regulat
+--- a/drivers/opp/core.c
++++ b/drivers/opp/core.c
+@@ -1317,11 +1317,13 @@ struct opp_table *dev_pm_opp_set_regulat
if (!opp_table)
return ERR_PTR(-ENOMEM);
}
+#endif
- /* Already have regulators set */
- if (opp_table->regulators) {
+ /* Another CPU that shares the OPP table has set the regulators ? */
+ if (opp_table->regulators)