aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2010-02-11 11:50:22 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-03-01 21:09:09 -0500
commitbff932cf6eda730fa42c363f7cfcc98c39240a24 (patch)
treed0bef7e6ca329934552657ff7ac2083a85c8bab8
parent20f2a3b5d57701c54bdd59b89dd37fe775926bae (diff)
sh: activate runtime PM for dmaengine on sh7722 and sh7724
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/kernel/cpu/sh4a/setup-sh7722.c3
-rw-r--r--arch/sh/kernel/cpu/sh4a/setup-sh7724.c6
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
index 89f84911c356..fd7e3639e845 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
@@ -163,6 +163,9 @@ struct platform_device dma_device = {
163 .dev = { 163 .dev = {
164 .platform_data = &dma_platform_data, 164 .platform_data = &dma_platform_data,
165 }, 165 },
166 .archdata = {
167 .hwblk_id = HWBLK_DMAC,
168 },
166}; 169};
167 170
168/* Serial */ 171/* Serial */
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c
index d9cb2c471a31..e7fa2a92fc1f 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c
@@ -189,6 +189,9 @@ static struct platform_device dma0_device = {
189 .dev = { 189 .dev = {
190 .platform_data = &dma0_platform_data, 190 .platform_data = &dma0_platform_data,
191 }, 191 },
192 .archdata = {
193 .hwblk_id = HWBLK_DMAC0,
194 },
192}; 195};
193 196
194static struct platform_device dma1_device = { 197static struct platform_device dma1_device = {
@@ -199,6 +202,9 @@ static struct platform_device dma1_device = {
199 .dev = { 202 .dev = {
200 .platform_data = &dma1_platform_data, 203 .platform_data = &dma1_platform_data,
201 }, 204 },
205 .archdata = {
206 .hwblk_id = HWBLK_DMAC1,
207 },
202}; 208};
203 209
204/* Serial */ 210/* Serial */