From patchwork Sun Sep 25 15:44:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 9349809 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E56F86077A for ; Sun, 25 Sep 2016 15:48:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CEB0528C6A for ; Sun, 25 Sep 2016 15:48:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1D3E28C76; Sun, 25 Sep 2016 15:48:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C399E28C6A for ; Sun, 25 Sep 2016 15:48:53 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1boBbZ-0005kI-28; Sun, 25 Sep 2016 15:44:37 +0000 Received: from mail-pa0-x242.google.com ([2607:f8b0:400e:c03::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1boBbU-0005im-10 for linux-arm-kernel@lists.infradead.org; Sun, 25 Sep 2016 15:44:33 +0000 Received: by mail-pa0-x242.google.com with SMTP id hm5so463406pac.1 for ; Sun, 25 Sep 2016 08:44:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/KvhvupTqTRGYqemNMcSc7b3mn4+O9XApoJVse+smqI=; b=qWKFBlAPmaBXZVGJ+Dj6R1kpG8c9x7Xsu8GwE4aVAAvI9NVTalUD2ZDvMDh9n7seeG q0ogA2w10GyoL26EvZbbJxa2Uq/rc7wzJATVnzy8HjCfueQO3gS6C71dd3o6sivMAFwu OQrfnVPDQmNGmzYoMHXDi3as3mf8CA7FJGtw1FX8QLA//XwuyV3Ujg0Z1BYQ2vuhXRwF mVhkTswUn5Z27s3f71pEjuYI8/ZE0GW0WtiRVVKI+9PhhG7xZUMhtyIeQLBS4pk/pQMy tbhEw+8j/c1ZGxdoPU9ImlM2zQJ9msvaBF8CVAHBcDGyKnEC55H6N/4nXVdFW/cwbiFG OvfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/KvhvupTqTRGYqemNMcSc7b3mn4+O9XApoJVse+smqI=; b=VPazmQ3/7qs4tJ+QV9uqc7NrZl4dEFUsnSnfnvedobcFVhaYIm4rH8D8CCyHwr/nlq MefaXMMPWhoPQBwuS1a3VGVoKqUgtLbqFQ4lXvjoYO0TYB5YEf70xtkpx8+b7H5L52r6 +sh9ql4YyY4j6lXlnNMGZi2jVNQgq1SonAk4qZnn3PMOiaA3R3JQdoya95mIF8juucGv z+uPwSZLKxzE7UMma6he6er0HGgs2+0uR4/PKXE0XytHtL9b4LGJx4YL5HNuWrH1KnLq 6+jwJNPRtZV4QksyFoGj8uUTIKjSCgbOIi+KW+TpPKwhJUlaC/3o7NIGi/dQiyeAHlep 3J+w== X-Gm-Message-State: AA6/9Rk6vqZXuK3vdTSCz9pvnxfhENJXjA8NgBfhdgloe0e158gnD3fOOUL82e9eN/0PuA== X-Received: by 10.66.25.50 with SMTP id z18mr15422836paf.151.1474818250211; Sun, 25 Sep 2016 08:44:10 -0700 (PDT) Received: from 192.168.0.37 (ec2-52-192-197-227.ap-northeast-1.compute.amazonaws.com. [52.192.197.227]) by smtp.gmail.com with ESMTPSA id y5sm24661490pfb.13.2016.09.25.08.44.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Sep 2016 08:44:09 -0700 (PDT) From: Wei Yongjun To: Michal Simek , soren.brinkmann@xilinx.com, adrian.hunter@intel.com, ulf.hansson@linaro.org Subject: [PATCH -next] mmc: sdhci-of-arasan: Fix non static symbol warning Date: Sun, 25 Sep 2016 15:44:03 +0000 Message-Id: <1474818243-19207-1-git-send-email-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160925_084432_145536_967C2323 X-CRM114-Status: UNSURE ( 9.53 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-mmc@vger.kernel.org, Wei Yongjun , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Fixes the following sparse warning: drivers/mmc/host/sdhci-of-arasan.c:253:6: warning: symbol 'sdhci_arasan_reset' was not declared. Should it be static? Signed-off-by: Wei Yongjun Acked-by: Sören Brinkmann Acked-by: Adrian Hunter --- drivers/mmc/host/sdhci-of-arasan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c index da8e40a..e263671 100644 --- a/drivers/mmc/host/sdhci-of-arasan.c +++ b/drivers/mmc/host/sdhci-of-arasan.c @@ -250,7 +250,7 @@ static void sdhci_arasan_hs400_enhanced_strobe(struct mmc_host *mmc, writel(vendor, host->ioaddr + SDHCI_ARASAN_VENDOR_REGISTER); } -void sdhci_arasan_reset(struct sdhci_host *host, u8 mask) +static void sdhci_arasan_reset(struct sdhci_host *host, u8 mask) { u8 ctrl; struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);