dmaengine: shdma: r8a73a4: Make dma_ts_shift[] static
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 21 May 2015 11:58:30 +0000 (13:58 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 25 May 2015 17:03:07 +0000 (22:33 +0530)
dma_ts_shift[] isn't used outside this source file. All other users use
the definition from arch/arm/mach-shmobile/dma-register.h.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/shdma-r8a73a4.c

index 4fb99970a3ea9b567e20f1f1158f1e514853b10e..96ea3828c3eb821367eb4e17fc95a738924764e4 100644 (file)
@@ -11,7 +11,7 @@
 
 #include "shdma-arm.h"
 
-const unsigned int dma_ts_shift[] = SH_DMAE_TS_SHIFT;
+static const unsigned int dma_ts_shift[] = SH_DMAE_TS_SHIFT;
 
 static const struct sh_dmae_slave_config dma_slaves[] = {
        {