summaryrefslogtreecommitdiffstats
path: root/drivers/dma/tegra20-apb-dma.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-06 13:46:22 +0200
committerVinod Koul <vinod.koul@intel.com>2013-10-07 04:11:38 +0200
commit404ff6694aae1e89672f3d79d9a5a4f0ba6180f8 (patch)
treed799ee57cae2932df6123a2a47d2cb0ade746d25 /drivers/dma/tegra20-apb-dma.c
parentdma: pl330: Simplify irq allocation (diff)
downloadlinux-404ff6694aae1e89672f3d79d9a5a4f0ba6180f8.tar.xz
linux-404ff6694aae1e89672f3d79d9a5a4f0ba6180f8.zip
dma: tegra20-apb-dma: Staticize tegra_dma_prep_dma_cyclic
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>
Diffstat (limited to 'drivers/dma/tegra20-apb-dma.c')
-rw-r--r--drivers/dma/tegra20-apb-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20-apb-dma.c
index 5d4986e5f5fa..67a6752bf863 100644
--- a/drivers/dma/tegra20-apb-dma.c
+++ b/drivers/dma/tegra20-apb-dma.c
@@ -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)