diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-12-11 13:43:06 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-03-06 07:05:24 +0100 |
commit | 51455ec4f0d6aaff7371b51e8155e0d4bec1aca5 (patch) | |
tree | 6e3d7d9c1d5d56c6a90181b13794ec1da5d36f36 /drivers/dma/sh/shdmac.c | |
parent | DMA: shdma: Fix warnings due to declared but unused symbols (diff) | |
download | linux-51455ec4f0d6aaff7371b51e8155e0d4bec1aca5.tar.xz linux-51455ec4f0d6aaff7371b51e8155e0d4bec1aca5.zip |
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/shdmac.c')
-rw-r--r-- | drivers/dma/sh/shdmac.c | 2 |
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, |