summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/opp.c
diff options
context:
space:
mode:
authormattis fjallstrom <mattis@acm.org>2015-10-30 16:03:32 -0700
committermattis fjallstrom <mattis@acm.org>2015-11-20 14:25:58 -0800
commit1263594ac4592804a8f49e73b42ed9c2f41644db (patch)
tree04f5f84e90e5a6f72d1e0dddc29885d6bf6d4836 /arch/arm/mach-omap2/opp.c
parent4f911e64b91df9adde8137cfa408639167cf250a (diff)
downloadolio-linux-3.10-1263594ac4592804a8f49e73b42ed9c2f41644db.tar.xz
olio-linux-3.10-1263594ac4592804a8f49e73b42ed9c2f41644db.zip
Power changes: Removed dummy regulators, added cpufreq table initialization and makes sure that cpufreq gets initialized properly.
Change-Id: I679d86c150e4acee098e4a5cfe1855d46fac872a
Diffstat (limited to 'arch/arm/mach-omap2/opp.c')
-rw-r--r--arch/arm/mach-omap2/opp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/opp.c b/arch/arm/mach-omap2/opp.c
index 82fd8c72f75..56e5ad35b17 100644
--- a/arch/arm/mach-omap2/opp.c
+++ b/arch/arm/mach-omap2/opp.c
@@ -41,8 +41,10 @@ int __init omap_init_opp_table(struct omap_opp_def *opp_def,
{
int i, r;
+#ifndef CONFIG_MACH_OMAP3_H1 /* olio has a partial DT */
if (of_have_populated_dt())
return -EINVAL;
+#endif
if (!opp_def || !opp_def_size) {
pr_err("%s: invalid params!\n", __func__);