sh: activate runtime PM for dmaengine on sh7722 and sh7724
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 11 Feb 2010 16:50:22 +0000 (16:50 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 2 Mar 2010 02:09:09 +0000 (11:09 +0900)
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4a/setup-sh7722.c
arch/sh/kernel/cpu/sh4a/setup-sh7724.c

index 89f84911c356180990e2efbc053b9fe85c18efd0..fd7e3639e84504501e9e090514f3876fdd97ebc3 100644 (file)
@@ -163,6 +163,9 @@ struct platform_device dma_device = {
        .dev            = {
                .platform_data  = &dma_platform_data,
        },
+       .archdata = {
+               .hwblk_id = HWBLK_DMAC,
+       },
 };
 
 /* Serial */
index d9cb2c471a31e0537b9db6240280520e8b2be834..e7fa2a92fc1fa1994a7102f9f4a52d7144c9c487 100644 (file)
@@ -189,6 +189,9 @@ static struct platform_device dma0_device = {
        .dev            = {
                .platform_data  = &dma0_platform_data,
        },
+       .archdata = {
+               .hwblk_id = HWBLK_DMAC0,
+       },
 };
 
 static struct platform_device dma1_device = {
@@ -199,6 +202,9 @@ static struct platform_device dma1_device = {
        .dev            = {
                .platform_data  = &dma1_platform_data,
        },
+       .archdata = {
+               .hwblk_id = HWBLK_DMAC1,
+       },
 };
 
 /* Serial */