From patchwork Thu Aug 1 06:32:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2836775 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8FD2D9F9FD for ; Thu, 1 Aug 2013 06:32:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A7CA8201FD for ; Thu, 1 Aug 2013 06:32:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7E057201F3 for ; Thu, 1 Aug 2013 06:32:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751785Ab3HAGcj (ORCPT ); Thu, 1 Aug 2013 02:32:39 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:19046 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751532Ab3HAGcj (ORCPT ); Thu, 1 Aug 2013 02:32:39 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MQU004SRA677JI0@mailout4.samsung.com> for linux-mmc@vger.kernel.org; Thu, 01 Aug 2013 15:32:37 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 14.0F.08825.5010AF15; Thu, 01 Aug 2013 15:32:37 +0900 (KST) X-AuditID: cbfee68e-b7f276d000002279-8e-51fa01058a5e Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 60.12.31505.5010AF15; Thu, 01 Aug 2013 15:32:37 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MQU00BG6A6DWU50@mmp1.samsung.com>; Thu, 01 Aug 2013 15:32:37 +0900 (KST) From: Jingoo Han To: 'Chris Ball' Cc: linux-mmc@vger.kernel.org, 'Tony Olech' , Jingoo Han Subject: [PATCH 2/2] mmc: vub300: Staticize vub300_init_card() Date: Thu, 01 Aug 2013 15:32:37 +0900 Message-id: <004e01ce8e80$e9fa5be0$bdef13a0$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: Ac6OgKSlebbKQ7UPRLm8m0MOb+anDg== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsVy+t8zQ11Wxl+BBufWqllsf72RzeLywkus Fkf+9zNa/O7azezA4nHsyQQ2j0NX1jJ69G1ZxejxeZNcAEsUl01Kak5mWWqRvl0CV8ayGXsZ CzazV3w4e529gXEeWxcjJ4eEgInEk5fPoWwxiQv31oPZQgLLGCWWvg7oYuQAq3lwRLOLkQso vAgovO8NO0TNL0aJ1QfUQGw2ATWJL18Og8VFBBQltnw/DmYzC5RKPLp3mwXEFhawk5g54QUz iM0ioCrRfm8X2C5eAUuJGb//MELYghI/Jt9jgejVkli/8zgThC0vsXnNW2aIOxUkdpx9zQhy m4iAnsTXOwYQJSIS+168YwS5U0JgG7vE3x3PWCF2CUh8m3yIBeIXWYlNB6DGSEocXHGDZQKj 2Cwkm2ch2TwLyeZZSFYsYGRZxSiaWpBcUJyUXmSkV5yYW1yal66XnJ+7iRESYX07GG8esD7E mAy0fiKzlGhyPjBC80riDY3NjCxMTUyNjcwtzUgTVhLnVWuxDhQSSE8sSc1OTS1ILYovKs1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c7LuF7SLziy3VTexqTa0hn+cr sRRnJBpqMRcVJwIA0mmMuCQDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-8.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP vub300_init_card() is used only in this file. Fix the following sparse warning: drivers/mmc/host/vub300.c:2082:6: warning: symbol 'vub300_init_card' was not declared. Should it be static? Signed-off-by: Jingoo Han --- drivers/mmc/host/vub300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/vub300.c b/drivers/mmc/host/vub300.c index cb9f361..e9028ad 100644 --- a/drivers/mmc/host/vub300.c +++ b/drivers/mmc/host/vub300.c @@ -2079,7 +2079,7 @@ static void vub300_enable_sdio_irq(struct mmc_host *mmc, int enable) kref_put(&vub300->kref, vub300_delete); } -void vub300_init_card(struct mmc_host *mmc, struct mmc_card *card) +static void vub300_init_card(struct mmc_host *mmc, struct mmc_card *card) { /* NOT irq */ struct vub300_mmc_host *vub300 = mmc_priv(mmc); dev_info(&vub300->udev->dev, "NO host QUIRKS for this card\n");