ARM: DRA7: hwmod: remove interrupts for DMA
authorNishanth Menon <nm@ti.com>
Thu, 12 Jun 2014 11:45:23 +0000 (17:15 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 22 Jul 2014 06:32:51 +0000 (23:32 -0700)
DMA interrupts are now available in of, and the definitions are
duplicates in hwmod. This prevents us from dynamically allocating
interrupt resources for dma from devicetree.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod_7xx_data.c

index 20b4398..31fd260 100644 (file)
@@ -343,19 +343,10 @@ static struct omap_dma_dev_attr dma_dev_attr = {
 };
 
 /* dma_system */
-static struct omap_hwmod_irq_info dra7xx_dma_system_irqs[] = {
-       { .name = "0", .irq = 12 + DRA7XX_IRQ_GIC_START },
-       { .name = "1", .irq = 13 + DRA7XX_IRQ_GIC_START },
-       { .name = "2", .irq = 14 + DRA7XX_IRQ_GIC_START },
-       { .name = "3", .irq = 15 + DRA7XX_IRQ_GIC_START },
-       { .irq = -1 }
-};
-
 static struct omap_hwmod dra7xx_dma_system_hwmod = {
        .name           = "dma_system",
        .class          = &dra7xx_dma_hwmod_class,
        .clkdm_name     = "dma_clkdm",
-       .mpu_irqs       = dra7xx_dma_system_irqs,
        .main_clk       = "l3_iclk_div",
        .prcm = {
                .omap4 = {