From patchwork Tue Aug 23 15:46:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Venkatraman S X-Patchwork-Id: 1088872 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7NFkY3Z015294 for ; Tue, 23 Aug 2011 15:46:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753515Ab1HWPqf (ORCPT ); Tue, 23 Aug 2011 11:46:35 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:59920 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752504Ab1HWPqf (ORCPT ); Tue, 23 Aug 2011 11:46:35 -0400 Received: from dlep34.itg.ti.com ([157.170.170.115]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id p7NFkZ2F009483 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 23 Aug 2011 10:46:35 -0500 Received: from dlep26.itg.ti.com (smtp-le.itg.ti.com [157.170.170.27]) by dlep34.itg.ti.com (8.13.7/8.13.8) with ESMTP id p7NFkZV1001699 for ; Tue, 23 Aug 2011 10:46:35 -0500 (CDT) Received: from DFLE71.ent.ti.com (localhost [127.0.0.1]) by dlep26.itg.ti.com (8.13.8/8.13.8) with ESMTP id p7NFkYPp028644 for ; Tue, 23 Aug 2011 10:46:34 -0500 (CDT) Received: from dlelxv23.itg.ti.com (172.17.1.198) by dfle71.ent.ti.com (128.247.5.62) with Microsoft SMTP Server id 14.1.323.3; Tue, 23 Aug 2011 10:46:34 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlelxv23.itg.ti.com (8.13.8/8.13.8) with ESMTP id p7NFkYlU014469; Tue, 23 Aug 2011 10:46:34 -0500 Received: from localhost (a0875988lt-172024137096.apr.dhcp.ti.com [172.24.137.96]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id p7NFkXf13474; Tue, 23 Aug 2011 10:46:33 -0500 (CDT) From: Venkatraman S To: CC: Venkatraman S Subject: [PATCH 1/2] mmc: queue: declare mmc_alloc_sg as static Date: Tue, 23 Aug 2011 21:16:02 +0530 Message-ID: <1314114363-6767-2-git-send-email-svenkatr@ti.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1314114363-6767-1-git-send-email-svenkatr@ti.com> References: <1314114363-6767-1-git-send-email-svenkatr@ti.com> MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 23 Aug 2011 15:46:36 +0000 (UTC) Fix the sparse warning "drivers/mmc/card/queue.c:111:20: warning: symbol 'mmc_alloc_sg' was not declared. Should it be static?" Signed-off-by: Venkatraman S --- drivers/mmc/card/queue.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/card/queue.c b/drivers/mmc/card/queue.c index 45fb362..5196312 100644 --- a/drivers/mmc/card/queue.c +++ b/drivers/mmc/card/queue.c @@ -108,7 +108,7 @@ static void mmc_request(struct request_queue *q) wake_up_process(mq->thread); } -struct scatterlist *mmc_alloc_sg(int sg_len, int *err) +static struct scatterlist *mmc_alloc_sg(int sg_len, int *err) { struct scatterlist *sg;