aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/devices.c')
-rw-r--r--arch/arm/mach-omap2/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index 324f02bf8a51..55447972eeed 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -49,7 +49,7 @@ static int __init omap3_l3_init(void)
49 * To avoid code running on other OMAPs in 49 * To avoid code running on other OMAPs in
50 * multi-omap builds 50 * multi-omap builds
51 */ 51 */
52 if (!(cpu_is_omap34xx())) 52 if (!(cpu_is_omap34xx()) || of_have_populated_dt())
53 return -ENODEV; 53 return -ENODEV;
54 54
55 snprintf(oh_name, L3_MODULES_MAX_LEN, "l3_main"); 55 snprintf(oh_name, L3_MODULES_MAX_LEN, "l3_main");