summaryrefslogtreecommitdiff
path: root/drivers/dma/sh
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-12-11 16:43:06 +0400
committerVinod Koul <vinod.koul@intel.com>2014-03-06 10:05:24 +0400
commit51455ec4f0d6aaff7371b51e8155e0d4bec1aca5 (patch)
tree6e3d7d9c1d5d56c6a90181b13794ec1da5d36f36 /drivers/dma/sh
parent52d6a5ee101bf0e6c1fc5373eebe5c3307e4a0ca (diff)
downloadlinux-51455ec4f0d6aaff7371b51e8155e0d4bec1aca5.tar.xz
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/sh')
-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)
#define sh_dmae_resume NULL
#endif
-const struct dev_pm_ops sh_dmae_pm = {
+static const struct dev_pm_ops sh_dmae_pm = {
.suspend = sh_dmae_suspend,
.resume = sh_dmae_resume,
.runtime_suspend = sh_dmae_runtime_suspend,