Skip to content

Commit

Permalink
sh: activate runtime PM for dmaengine on sh7722 and sh7724
Browse files Browse the repository at this point in the history
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Guennadi Liakhovetski authored and Paul Mundt committed Mar 2, 2010
1 parent 20f2a3b commit bff932c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/sh/kernel/cpu/sh4a/setup-sh7722.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ struct platform_device dma_device = {
.dev = {
.platform_data = &dma_platform_data,
},
.archdata = {
.hwblk_id = HWBLK_DMAC,
},
};

/* Serial */
Expand Down
6 changes: 6 additions & 0 deletions arch/sh/kernel/cpu/sh4a/setup-sh7724.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -199,6 +202,9 @@ static struct platform_device dma1_device = {
.dev = {
.platform_data = &dma1_platform_data,
},
.archdata = {
.hwblk_id = HWBLK_DMAC1,
},
};

/* Serial */
Expand Down

0 comments on commit bff932c

Please sign in to comment.