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: 9349805 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 A45796077A for ; Sun, 25 Sep 2016 15:44:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 815EC28CF8 for ; Sun, 25 Sep 2016 15:44:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6223A28CFB; Sun, 25 Sep 2016 15:44:13 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E15B928CF8 for ; Sun, 25 Sep 2016 15:44:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034247AbcIYPoL (ORCPT ); Sun, 25 Sep 2016 11:44:11 -0400 Received: from mail-pa0-f67.google.com ([209.85.220.67]:34072 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1034226AbcIYPoK (ORCPT ); Sun, 25 Sep 2016 11:44:10 -0400 Received: by mail-pa0-f67.google.com with SMTP id hm5so463407pac.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=el8mLNrhZh4CILwNGxAJIW3IqQvpqS7zR3bC77w94XwGfNeSkLa8KKgb+3Kz1yXoj2 66s40WMx/2+eqUGBW0Ph5vPuJtyR1IEvKbUZVETP50McbfLBdEZU2G1ISbG2swoYnSro IoBDeUj6YpP1lP/6oJAPB1QLBPBaELVZ51me2j7eRcGpRhT5tevinc05dTP50Uk9DBjE 7/bJ4vSgRPNh2kIXLzxuuW9s+nuOQxhsENOWJsuRwSq3NMmg/AO0dEHusMIR79g3ReRW KGP8z8zlLTcsLVRUk2ZV1xO73OrbNN4QObSkccbjpVWDf1ewkToUx02vP1b1+OQQFziM J9gA== X-Gm-Message-State: AA6/9Rnx9oJ3AdlbphPgYmRF5LR1OWviYU0aUYLTzMd1+bI4ROV/sBqbEZINVqWy9XqUvA== 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 Cc: Wei Yongjun , linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.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 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.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(-) -- 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/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);