From patchwork Thu Aug 1 06:30:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2836774 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 563889F9FD for ; Thu, 1 Aug 2013 06:30:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A6C35201F6 for ; Thu, 1 Aug 2013 06:30:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D2794201F3 for ; Thu, 1 Aug 2013 06:30:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751261Ab3HAGaM (ORCPT ); Thu, 1 Aug 2013 02:30:12 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:12795 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750850Ab3HAGaL (ORCPT ); Thu, 1 Aug 2013 02:30:11 -0400 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MQU0094JA0W6H80@mailout1.samsung.com> for linux-mmc@vger.kernel.org; Thu, 01 Aug 2013 15:30:09 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 63.D8.03969.1700AF15; Thu, 01 Aug 2013 15:30:09 +0900 (KST) X-AuditID: cbfee68f-b7f436d000000f81-f4-51fa00719957 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 15.11.31505.1700AF15; Thu, 01 Aug 2013 15:30:09 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MQU00JU9A29OA00@mmp2.samsung.com>; Thu, 01 Aug 2013 15:30:09 +0900 (KST) From: Jingoo Han To: Chris Ball Cc: linux-mmc@vger.kernel.org, Seungwon Jeon , Jaehoon Chung , Dinh Nguyen , Jingoo Han Subject: [PATCH 1/2] mmc: dw_mmc-socfpga: Staticize dw_mci_socfpga_probe() Date: Thu, 01 Aug 2013 15:30:09 +0900 Message-id: <004d01ce8e80$91d50d20$b57f2760$@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: Ac6OgHJ3CC10sfWgQ2C3r7bJ0tDSyA== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrAIsWRmVeSWpSXmKPExsVy+t8zQ91Chl+BBt1rzCy2v97IZnH80mJm i8sLL7Fa3PjVxmpx5H8/o8WH+xeZHdg8WvdOYPM4dGUto0ffllWMHp83yQWwRHHZpKTmZJal FunbJXBlbDrcxlIwnb1i1iWFBsYpbF2MnBwSAiYSZ+4/Z4WwxSQu3FsPFOfiEBJYxijxeOEO ZpiiGe/boBLTGSVerVnMCuH8YpTY9/gQI0gVm4CaxJcvh9lBbBEBeYn7fd/AVjALbGGUaG1U BbGFBbwkvpycwwRiswioSrw7NQmsl1fAUmLa/zYWCFtQ4sfkeywQvVoS63ceZ4Kw5SU2r3kL dZGCxI6zrxkhdulJHJrxjx2iRkRi34t3jCDHSQjsYpf4MGEtG8QyAYlvkw8BDeUASshKbDoA NUdS4uCKGywTGMVmIVk9C8nqWUhWz0KyYgEjyypG0dSC5ILipPQiY73ixNzi0rx0veT83E2M kNjr38F494D1IcZkoPUTmaVEk/OBsZtXEm9obGZkYWpiam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 bx1Cp3kzD8xfkNYsbTn/+OE7HLM3atho7v3SMD9rqstXnjZ90yZFkbMMAlqTn7Xd3vndqHBD JWvwfiWW4oxEQy3mouJEALzS1IQwAwAA 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 dw_mci_socfpga_probe() is used only in this file. Fix the following sparse warning: drivers/mmc/host/dw_mmc-socfpga.c:116:5: warning: symbol 'dw_mci_socfpga_probe' was not declared. Should it be static? Signed-off-by: Jingoo Han Acked-by: Seungwon Jeon --- drivers/mmc/host/dw_mmc-socfpga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc-socfpga.c b/drivers/mmc/host/dw_mmc-socfpga.c index 14b5961..35aebb8 100644 --- a/drivers/mmc/host/dw_mmc-socfpga.c +++ b/drivers/mmc/host/dw_mmc-socfpga.c @@ -113,7 +113,7 @@ static const struct of_device_id dw_mci_socfpga_match[] = { }; MODULE_DEVICE_TABLE(of, dw_mci_socfpga_match); -int dw_mci_socfpga_probe(struct platform_device *pdev) +static int dw_mci_socfpga_probe(struct platform_device *pdev) { const struct dw_mci_drv_data *drv_data; const struct of_device_id *match;