ARM: OMAP: PRCM: Don't register PRCM chain handler for AM33XX
[sitara-epos/sitara-epos-kernel.git] / arch / arm / mach-omap2 / prm2xxx_3xxx.c
index c1c4d86a79a8e5f7ff32b2739928963be7a4d4e2..fa803c63da8c2185390c3e6a23c4850dfb4915ad 100644 (file)
@@ -302,7 +302,7 @@ void omap3xxx_prm_restore_irqen(u32 *saved_mask)
 
 static int __init omap3xxx_prcm_init(void)
 {
-       if (cpu_is_omap34xx())
+       if (cpu_is_omap34xx() && !cpu_is_am33xx())
                return omap_prcm_register_chain_handler(&omap3_prcm_irq_setup);
        return 0;
 }