2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00

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>
This commit is contained in:
Guennadi Liakhovetski 2010-02-11 16:50:22 +00:00 committed by Paul Mundt
parent 20f2a3b5d5
commit bff932cf6e
2 changed files with 9 additions and 0 deletions

View File

@ -163,6 +163,9 @@ struct platform_device dma_device = {
.dev = {
.platform_data = &dma_platform_data,
},
.archdata = {
.hwblk_id = HWBLK_DMAC,
},
};
/* Serial */

View 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 */