summaryrefslogtreecommitdiffstats
path: root/drivers/dma/shdma.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-04-29 17:09:25 +0000
committerPaul Mundt <lethal@linux-sh.org>2011-05-23 12:44:33 +0900
commit467017b83b5bc445be5d275cf727b4f7ba3d2b2d (patch)
treea7c0a41d9e99488a73b42544e40b8c31a2ef84ef /drivers/dma/shdma.h
parent2dc666673b5a39d005579a0ef63ae69b5094e686 (diff)
downloadblackbird-op-linux-467017b83b5bc445be5d275cf727b4f7ba3d2b2d.tar.gz
blackbird-op-linux-467017b83b5bc445be5d275cf727b4f7ba3d2b2d.zip
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.h1
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 {
int id; /* Raw id of this channel */
u32 __iomem *base;
char dev_id[16]; /* unique name per DMAC of channel */
+ int pm_error;
};
struct sh_dmae_device {
OpenPOWER on IntegriCloud