ARM: shmobile: rcar-gen2: Make rcar_gen2_dma_contiguous static
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 28 Jan 2016 15:20:47 +0000 (16:20 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 4 Feb 2016 14:09:20 +0000 (15:09 +0100)
commit0c1690705417ac1b33f01125552349e3cfc9766d
treece4ec839fa356a3f63ccfc0888028b5aa9665bbf
parent92e963f50fc74041b5e9e744c330dca48e04f08d
ARM: shmobile: rcar-gen2: Make rcar_gen2_dma_contiguous static

make C=1:

    arch/arm/mach-shmobile/setup-rcar-gen2.c:186:12: warning: symbol 'rcar_gen2_dma_contiguous' was not declared. Should it be static?

Make it static, and move it inside the function to avoid a "defined but
not used" warning if CONFIG_DMA_CMA=n.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-rcar-gen2.c