summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/opp.c
diff options
context:
space:
mode:
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__);