]> Git Repo - linux.git/commitdiff
arch/hexagon/kernel/dma.c: make function static
authorJulia Lawall <[email protected]>
Tue, 24 Jan 2012 13:31:36 +0000 (14:31 +0100)
committerRichard Kuo <[email protected]>
Tue, 22 May 2012 23:40:45 +0000 (18:40 -0500)
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 <[email protected]>
[[email protected]: adjusted patch to apply to latest]
Signed-off-by: Richard Kuo <[email protected]>
arch/hexagon/kernel/dma.c

index 0f2367cc549311a3c8ba1911b0707699435716b2..2b48751aa5f75848c0e4d7674c412a479390ac5a 100644 (file)
@@ -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)
 {
This page took 0.055243 seconds and 4 git commands to generate.