Skip to contentSkip to conversation

arch/hexagon/kernel/dma.c: make function static

PATCH New Julia Lawall 1 participant 1 message Jan 24, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 4/10 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.

[[email protected]: adjusted patch to apply to latest]
---
 arch/hexagon/kernel/dma.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/hexagon/kernel/dma.c +1 -1
index 3730221..e8d52cc 100644
@@ -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)
 {
Signature · 7 lines
1.7.1


--

Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.