diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-04-29 13:09:25 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-22 23:44:33 -0400 |
commit | 467017b83b5bc445be5d275cf727b4f7ba3d2b2d (patch) | |
tree | a7c0a41d9e99488a73b42544e40b8c31a2ef84ef /drivers/dma/shdma.h | |
parent | 2dc666673b5a39d005579a0ef63ae69b5094e686 (diff) |
dmaengine: shdma: add runtime- and system-level power management
This patch extends and fixes runtime power management in the shdma
driver to support powering down the DMA controller and adds support
for system-level suspend and resume.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/dma/shdma.h')
-rw-r--r-- | drivers/dma/shdma.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/shdma.h b/drivers/dma/shdma.h index 52e4fb173805..3f9d3cd06584 100644 --- a/drivers/dma/shdma.h +++ b/drivers/dma/shdma.h | |||
@@ -37,6 +37,7 @@ struct sh_dmae_chan { | |||
37 | int id; /* Raw id of this channel */ | 37 | int id; /* Raw id of this channel */ |
38 | u32 __iomem *base; | 38 | u32 __iomem *base; |
39 | char dev_id[16]; /* unique name per DMAC of channel */ | 39 | char dev_id[16]; /* unique name per DMAC of channel */ |
40 | int pm_error; | ||
40 | }; | 41 | }; |
41 | 42 | ||
42 | struct sh_dmae_device { | 43 | struct sh_dmae_device { |