All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arch/hexagon/kernel/dma.c: make function static
@ 2012-01-24 13:31 ` Julia Lawall
  0 siblings, 0 replies; 4+ messages in thread
From: Julia Lawall @ 2012-01-24 13:31 UTC (permalink / raw)
  To: Richard Kuo; +Cc: kernel-janitors, linux-hexagon, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>

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>

---
 arch/hexagon/kernel/dma.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/hexagon/kernel/dma.c b/arch/hexagon/kernel/dma.c
index 54891e1..0b49a0a 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)
 {
 	void *ret;


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-26 22:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-24 13:31 [PATCH] arch/hexagon/kernel/dma.c: make function static Julia Lawall
2012-01-24 13:31 ` Julia Lawall
2012-01-26 22:52 ` Richard Kuo
2012-01-26 22:52   ` Richard Kuo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.