From patchwork Tue Jan 14 02:03:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 3483611 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 118C19F391 for ; Tue, 14 Jan 2014 02:03:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5422720158 for ; Tue, 14 Jan 2014 02:03:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 850BC20149 for ; Tue, 14 Jan 2014 02:03:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751688AbaANCDg (ORCPT ); Mon, 13 Jan 2014 21:03:36 -0500 Received: from mail-bk0-f45.google.com ([209.85.214.45]:57285 "EHLO mail-bk0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751682AbaANCDg (ORCPT ); Mon, 13 Jan 2014 21:03:36 -0500 Received: by mail-bk0-f45.google.com with SMTP id v16so40329bkz.4 for ; Mon, 13 Jan 2014 18:03:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=t4zppLuxB0ZKsCEOg6ykgQLoAAO2Y5iTbnnCFdZvq2E=; b=KJ0OAflPobSZybbvkznRmUW2ZlvBiokQKCHf2QciBsWqzrpKmEkMcoUpL55zsxfwVq Ol2p2ywALC5o5gGLekumb/geKXaho1kyxucgqf0ECZVznWdIQEp60WkBQVMI2krxIcwb xZKRi6fNM7YX99uL+KzYpWnkjVrUfSV3moWoteEH5HAIG1ki2i07lZ+j15e6PWOHwoES ks0emepSCeoid9O1KVIknfYihojuhdfiHEBi+hmHHlT53I/Ol1khRyijVEl9iOPx4bKx 2oPs+oJhrELOefL0ep4mOfbYOo4YfD6EBB3VkYM5qAPV2TBaVV/8+RnRTYa50ioq2okB mOeA== MIME-Version: 1.0 X-Received: by 10.205.97.6 with SMTP id ci6mr23076bkc.153.1389665013375; Mon, 13 Jan 2014 18:03:33 -0800 (PST) Received: by 10.204.74.130 with HTTP; Mon, 13 Jan 2014 18:03:33 -0800 (PST) Date: Tue, 14 Jan 2014 10:03:33 +0800 Message-ID: Subject: [PATCH -next] mmc: dw_mmc: fix sparse non static symbol warning From: Wei Yongjun To: tgih.jun@samsung.com, jh80.chung@samsung.com, chris@printf.net, grant.likely@linaro.org, robh+dt@kernel.org, zhangfei.gao@linaro.org Cc: yongjun_wei@trendmicro.com.cn, linux-mmc@vger.kernel.org Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 From: Wei Yongjun Fixes the following sparse warning: drivers/mmc/host/dw_mmc-k3.c:116:1: warning: symbol 'dw_mci_k3_pmops' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- drivers/mmc/host/dw_mmc-k3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/mmc/host/dw_mmc-k3.c b/drivers/mmc/host/dw_mmc-k3.c index 68e5e42..3542a03 100644 --- a/drivers/mmc/host/dw_mmc-k3.c +++ b/drivers/mmc/host/dw_mmc-k3.c @@ -113,7 +113,7 @@ static int dw_mci_k3_resume(struct device *dev) return dw_mci_resume(host); } -SIMPLE_DEV_PM_OPS(dw_mci_k3_pmops, dw_mci_k3_suspend, dw_mci_k3_resume); +static SIMPLE_DEV_PM_OPS(dw_mci_k3_pmops, dw_mci_k3_suspend, dw_mci_k3_resume); static struct platform_driver dw_mci_k3_pltfm_driver = { .probe = dw_mci_k3_probe,