提交 bff932cf 编写于 作者: G Guennadi Liakhovetski 提交者: Paul Mundt

sh: activate runtime PM for dmaengine on sh7722 and sh7724

Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 20f2a3b5
...@@ -163,6 +163,9 @@ struct platform_device dma_device = { ...@@ -163,6 +163,9 @@ struct platform_device dma_device = {
.dev = { .dev = {
.platform_data = &dma_platform_data, .platform_data = &dma_platform_data,
}, },
.archdata = {
.hwblk_id = HWBLK_DMAC,
},
}; };
/* Serial */ /* Serial */
......
...@@ -189,6 +189,9 @@ static struct platform_device dma0_device = { ...@@ -189,6 +189,9 @@ static struct platform_device dma0_device = {
.dev = { .dev = {
.platform_data = &dma0_platform_data, .platform_data = &dma0_platform_data,
}, },
.archdata = {
.hwblk_id = HWBLK_DMAC0,
},
}; };
static struct platform_device dma1_device = { static struct platform_device dma1_device = {
...@@ -199,6 +202,9 @@ static struct platform_device dma1_device = { ...@@ -199,6 +202,9 @@ static struct platform_device dma1_device = {
.dev = { .dev = {
.platform_data = &dma1_platform_data, .platform_data = &dma1_platform_data,
}, },
.archdata = {
.hwblk_id = HWBLK_DMAC1,
},
}; };
/* Serial */ /* Serial */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册