ARM: davinci: devices-da8xx: Add resource name for the McASP DMA request
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 12 Mar 2015 08:06:25 +0000 (10:06 +0200)
committerSekhar Nori <nsekhar@ti.com>
Wed, 18 Mar 2015 10:22:04 +0000 (15:52 +0530)
Add "tx" or "rx" as resource name for the DMA resources.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/devices-da8xx.c

index b85b781b05fdf7d89d7a3c256727ea9024b6d0d8..f351743177705962727d2c73e741c23de5dd2014 100644 (file)
@@ -463,12 +463,14 @@ static struct resource da830_mcasp1_resources[] = {
        },
        /* TX event */
        {
+               .name   = "tx",
                .start  = DAVINCI_DA830_DMA_MCASP1_AXEVT,
                .end    = DAVINCI_DA830_DMA_MCASP1_AXEVT,
                .flags  = IORESOURCE_DMA,
        },
        /* RX event */
        {
+               .name   = "rx",
                .start  = DAVINCI_DA830_DMA_MCASP1_AREVT,
                .end    = DAVINCI_DA830_DMA_MCASP1_AREVT,
                .flags  = IORESOURCE_DMA,
@@ -491,12 +493,14 @@ static struct resource da850_mcasp_resources[] = {
        },
        /* TX event */
        {
+               .name   = "tx",
                .start  = DAVINCI_DA8XX_DMA_MCASP0_AXEVT,
                .end    = DAVINCI_DA8XX_DMA_MCASP0_AXEVT,
                .flags  = IORESOURCE_DMA,
        },
        /* RX event */
        {
+               .name   = "rx",
                .start  = DAVINCI_DA8XX_DMA_MCASP0_AREVT,
                .end    = DAVINCI_DA8XX_DMA_MCASP0_AREVT,
                .flags  = IORESOURCE_DMA,