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>
This commit is contained in:
Laurent Pinchart 2013-12-11 13:43:06 +01:00 committed by Vinod Koul
parent 52d6a5ee10
commit 51455ec4f0

View file

@ -639,7 +639,7 @@ static int sh_dmae_resume(struct device *dev)
#define sh_dmae_resume NULL #define sh_dmae_resume NULL
#endif #endif
const struct dev_pm_ops sh_dmae_pm = { static const struct dev_pm_ops sh_dmae_pm = {
.suspend = sh_dmae_suspend, .suspend = sh_dmae_suspend,
.resume = sh_dmae_resume, .resume = sh_dmae_resume,
.runtime_suspend = sh_dmae_runtime_suspend, .runtime_suspend = sh_dmae_runtime_suspend,