From: Julia Lawall Date: Tue, 24 Jan 2012 13:31:36 +0000 (+0100) Subject: arch/hexagon/kernel/dma.c: make function static X-Git-Tag: next-20120417~82^2~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=417d3b5541242e94fadb8692850f302f98974599;p=karo-tx-linux.git 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 [rkuo@codeaurora.org: adjusted patch to apply to latest] Signed-off-by: Richard Kuo --- diff --git a/arch/hexagon/kernel/dma.c b/arch/hexagon/kernel/dma.c index 37302218ca4a..e8d52cc4ba7a 100644 --- a/arch/hexagon/kernel/dma.c +++ b/arch/hexagon/kernel/dma.c @@ -53,7 +53,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) {