This is a temporary hack until PRM hwmod data is available.
Signed-off-by: Tero Kristo <[email protected]>
---
drivers/power/omap_prm.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/power/omap_prm.c b/drivers/power/omap_prm.c
index ce0a872..7d59d92 100644
--- a/drivers/power/omap_prm.c
+++ b/drivers/power/omap_prm.c
@@ -264,14 +264,16 @@ static int __devexit omap_prm_complete(struct
platform_device *pdev)
static int __init omap_prm_probe(struct platform_device *pdev)
{
- /* XXX: prm_dev.irq_setup should be populated here */
+ prm_dev.irq_setup.ack = 0xb2000000 + 0x48306818;
+ prm_dev.irq_setup.mask = 0xb2000000 + 0x4830681c;
+ prm_dev.irq_setup.irq = INT_34XX_PRCM_MPU_IRQ;
+ prm_dev.irq_setup.nr_regs = 1;
+ prm_dev.irq_setup.nr_irqs = 32;
- /* XXX: following calls should be enabled once irq_setup is done */
-#if 0
omap_prcm_irq_init();
prm_dev.irq_setup.io_irq = omap_prcm_event_to_irq("io");
-#endif
+
return 0;
}
--
1.7.4.1
Texas Instruments Oy, Tekniikantie 12, 02150 Espoo. Y-tunnus: 0115040-6.
Kotipaikka: Helsinki
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html