From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753949Ab2DRAVS (ORCPT ); Tue, 17 Apr 2012 20:21:18 -0400 Received: from wolverine02.qualcomm.com ([199.106.114.251]:56159 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753740Ab2DRAVP (ORCPT ); Tue, 17 Apr 2012 20:21:15 -0400 Message-Id: <8675ae$5bugro@wolverine02.qualcomm.com> X-IronPort-AV: E=McAfee;i="5400,1158,6684"; a="180306808" From: Julia Lawall Date: Tue, 24 Jan 2012 14:31:36 +0100 Subject: [PATCH 04/10] arch/hexagon/kernel/dma.c: make function static To: linux-arch@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/hexagon/kernel/dma.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/hexagon/kernel/dma.c b/arch/hexagon/kernel/dma.c index 3730221..e8d52cc 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) { -- 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.