aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-12-11 07:43:06 -0500
committerVinod Koul <vinod.koul@intel.com>2014-03-06 01:05:24 -0500
commit51455ec4f0d6aaff7371b51e8155e0d4bec1aca5 (patch)
tree6e3d7d9c1d5d56c6a90181b13794ec1da5d36f36 /drivers/dma
parent52d6a5ee101bf0e6c1fc5373eebe5c3307e4a0ca (diff)
DMA: shdma: Make sh_dmae_pm static
The structure isn't used outside of its compilation unit. Make it static. Cc: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> Cc: Vinod Koul <vinod.koul@intel.com> Cc: dmaengine@vger.kernel.org Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/sh/shdmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/sh/shdmac.c b/drivers/dma/sh/shdmac.c
index 21509876d459..dda7e7563f5d 100644
--- a/drivers/dma/sh/shdmac.c
+++ b/drivers/dma/sh/shdmac.c
@@ -639,7 +639,7 @@ static int sh_dmae_resume(struct device *dev)
639#define sh_dmae_resume NULL 639#define sh_dmae_resume NULL
640#endif 640#endif
641 641
642const struct dev_pm_ops sh_dmae_pm = { 642static const struct dev_pm_ops sh_dmae_pm = {
643 .suspend = sh_dmae_suspend, 643 .suspend = sh_dmae_suspend,
644 .resume = sh_dmae_resume, 644 .resume = sh_dmae_resume,
645 .runtime_suspend = sh_dmae_runtime_suspend, 645 .runtime_suspend = sh_dmae_runtime_suspend,