From: Laurent Pinchart Date: Wed, 11 Dec 2013 12:43:06 +0000 (+0100) Subject: DMA: shdma: Make sh_dmae_pm static X-Git-Tag: v3.15-rc1~39^2~18 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=51455ec4f0d6aaff7371b51e8155e0d4bec1aca5;p=karo-tx-linux.git DMA: shdma: Make sh_dmae_pm static The structure isn't used outside of its compilation unit. Make it static. Cc: Guennadi Liakhovetski Cc: Vinod Koul Cc: dmaengine@vger.kernel.org Signed-off-by: Laurent Pinchart Signed-off-by: Vinod Koul --- 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,