aboutsummaryrefslogtreecommitdiffstats
path: root/arch/hexagon
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2012-01-24 14:31:36 +0100
committerRichard Kuo <rkuo@codeaurora.org>2012-05-22 18:40:45 -0500
commit222c547ee7155045dc20c26d39191b0e9b49f6a8 (patch)
treebcd13b3461b45a8585255021fea536c4e00ca00e /arch/hexagon
parentbfd46276fdf4e936259193a520d6bc1926800fb4 (diff)
downloadkernel_goldelico_gta04-222c547ee7155045dc20c26d39191b0e9b49f6a8.zip
kernel_goldelico_gta04-222c547ee7155045dc20c26d39191b0e9b49f6a8.tar.gz
kernel_goldelico_gta04-222c547ee7155045dc20c26d39191b0e9b49f6a8.tar.bz2
arch/hexagon/kernel/dma.c: make function static
This function is only used in the same file, and the other similar functions in this file are also static. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> [rkuo@codeaurora.org: adjusted patch to apply to latest] Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon')
-rw-r--r--arch/hexagon/kernel/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/hexagon/kernel/dma.c b/arch/hexagon/kernel/dma.c
index 0f2367c..2b48751 100644
--- a/arch/hexagon/kernel/dma.c
+++ b/arch/hexagon/kernel/dma.c
@@ -54,7 +54,7 @@ static struct gen_pool *coherent_pool;
/* Allocates from a pool of uncached memory that was reserved at boot time */
-void *hexagon_dma_alloc_coherent(struct device *dev, size_t size,
+static void *hexagon_dma_alloc_coherent(struct device *dev, size_t size,
dma_addr_t *dma_addr, gfp_t flag,
struct dma_attrs *attrs)
{