From: Viresh Kumar Date: Tue, 25 Nov 2014 10:34:18 +0000 (+0530) Subject: PM / OPP mark OPPs as 'static' or 'dynamic' X-Git-Tag: omap-for-v3.19/fixes-rc1~136^2~4^5~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38393409da345cd48d94a0e74c7bbc3402742882;p=pandora-kernel.git PM / OPP mark OPPs as 'static' or 'dynamic' Static OPPs are the ones created from Device Tree entries and dynamic are the ones created at runtime by calling dev_pm_opp_add(). There is a need to distinguish them as we need to free static OPPs from cpufreq drivers when they are removed. So, add another field 'dynamic' in 'struct dev_pm_opp' to keep this information. Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed