lkml.org 
[lkml]   [2012]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] arch/hexagon/kernel/dma.c: make function static
On Tue, Jan 24, 2012 at 02:31:36PM +0100, Julia Lawall wrote:
> 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;
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hexagon" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html

Thanks!

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>


--

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


\
 
 \ /
  Last update: 2012-01-26 23:55    [W:0.547 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site