dma: tegra20-apb-dma: Staticize tegra_dma_prep_dma_cyclic
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 6 Sep 2013 11:46:22 +0000 (17:16 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 7 Oct 2013 02:11:38 +0000 (07:41 +0530)
tegra_dma_prep_dma_cyclic is referenced only in this file.
Make it static.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/tegra20-apb-dma.c

index 5d4986e5f5fa6b21423084b688bd0a8afbba0c2e..67a6752bf8631ed70bdd65fc830734ee57005add 100644 (file)
@@ -1018,7 +1018,7 @@ static struct dma_async_tx_descriptor *tegra_dma_prep_slave_sg(
        return &dma_desc->txd;
 }
 
-struct dma_async_tx_descriptor *tegra_dma_prep_dma_cyclic(
+static struct dma_async_tx_descriptor *tegra_dma_prep_dma_cyclic(
        struct dma_chan *dc, dma_addr_t buf_addr, size_t buf_len,
        size_t period_len, enum dma_transfer_direction direction,
        unsigned long flags, void *context)