From: Geert Uytterhoeven Date: Thu, 21 May 2015 11:58:30 +0000 (+0200) Subject: dmaengine: shdma: r8a73a4: Make dma_ts_shift[] static X-Git-Tag: v4.14-rc1~5145^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f64b276702269288d975385e2284de62173e414;p=platform%2Fkernel%2Flinux-rpi.git dmaengine: shdma: r8a73a4: Make dma_ts_shift[] static 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 Reviewed-by: Simon Horman Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/sh/shdma-r8a73a4.c b/drivers/dma/sh/shdma-r8a73a4.c index 4fb9997..96ea382 100644 --- a/drivers/dma/sh/shdma-r8a73a4.c +++ b/drivers/dma/sh/shdma-r8a73a4.c @@ -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[] = { {