Re: [PATCH] DMA: shdma: r8a73a4: Make dma_ts_shift[] static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 21, 2015 at 01:58:30PM +0200, Geert Uytterhoeven wrote:
> 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@xxxxxxxxx>

Reviewed-by: Simon Horman <horms+renesas@xxxxxxxxxxxx>

> ---
>  drivers/dma/sh/shdma-r8a73a4.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/dma/sh/shdma-r8a73a4.c b/drivers/dma/sh/shdma-r8a73a4.c
> index 4fb99970a3ea9b56..96ea3828c3eb8213 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[] = {
>  	{
> -- 
> 1.9.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux