Skip to content

Commit

Permalink
arch/hexagon/kernel/dma.c: make function static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Julia Lawall authored and Richard Kuo committed May 22, 2012
1 parent bfd4627 commit 222c547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/hexagon/kernel/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 222c547

Please sign in to comment.