Przeglądaj źródła

Merge branch 'opp/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm into pm-opp

Merge an OPP fix for v4.18 from Viresh Kumar.

* 'opp/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm:
  PM / OPP: silence an uninitialized variable warning
Rafael J. Wysocki 7 lat temu
rodzic
commit
e008690e4e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      drivers/opp/of.c

+ 1 - 1
drivers/opp/of.c

@@ -287,7 +287,7 @@ static int _opp_add_static_v2(struct opp_table *opp_table, struct device *dev,
 			      struct device_node *np)
 {
 	struct dev_pm_opp *new_opp;
-	u64 rate;
+	u64 rate = 0;
 	u32 val;
 	int ret;
 	bool rate_not_available = false;