From patchwork Mon Jul 31 12:00:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 108996 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp3561404obm; Mon, 31 Jul 2017 05:01:31 -0700 (PDT) X-Received: by 10.84.178.37 with SMTP id y34mr17218894plb.223.1501502491393; Mon, 31 Jul 2017 05:01:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501502491; cv=none; d=google.com; s=arc-20160816; b=e6eKUiEQEeEqvSzTqzag7JdxSQ286g3/8m9azk3RWxTYg11pZjcMoA0iZnFoFP1TxI treINZ8sApHZlueiFnqCL2eE5A5KbkzXK4CUXYV8drUKTl84AYOuV7Da2ulr0883sfW3 6zBsdTnaOKRb3Kth4Ag4jQgy8CFSaXFO5T+2UGYLiea7687XWezAkyf847OkdTxkst8E kUpo0lAhG3cxwRJ4BjyOSNYtgzXf5IqopNoXvOTHk8e1Y1eunRx7/9Hqmpj8rJNJfNnJ +iSwYOtPHTnfQLne6QtMeL8CRQMUgH6EVgUZ7W2XlYspnmJTHyKnUtabaPyeAJir6ffe OAGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=zRKQrYx3c4NzXwe4+Ij1QmWoiQdjSArLtVoUvkwWvwo=; b=wybr8k2Dna15PFlq+X5C/bEzOLa1a/BU2t3qclxqkL6eaq/wNeJCpbJm4dUps24JWO FwimnayqriFsoJdJx5BA1wnTwb9FFvE8Um+bpiO2tvSjJsq30/qh0nGtb+HIcGtwOYKY eJCmIYKe5rKB3Fh82RrjikO9k4VjUQeonO52H8l1qHfL8Kge2JbJrbc2QGplh3PoeT6x DEtlhjpMo3NRD4fLbfN70ewmddSA9n4059pTLv7PE01zbSTYfu/ej93avaYWKT2M//v7 Ah3Mjoj1HXdWbEOQk1PSWeSC3ng0gFlCf88IKEwqBlnuROCJUysUG1IKbgxYlO9Atz9d NE9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=z1rlGByp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x7si3538493pgt.580.2017.07.31.05.01.31; Mon, 31 Jul 2017 05:01:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.b=z1rlGByp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752071AbdGaMB2 (ORCPT + 26 others); Mon, 31 Jul 2017 08:01:28 -0400 Received: from conuserg-10.nifty.com ([210.131.2.77]:39015 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750977AbdGaMB1 (ORCPT ); Mon, 31 Jul 2017 08:01:27 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id v6VC13Ud018722; Mon, 31 Jul 2017 21:01:04 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com v6VC13Ud018722 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1501502464; bh=zRKQrYx3c4NzXwe4+Ij1QmWoiQdjSArLtVoUvkwWvwo=; h=From:To:Cc:Subject:Date:From; b=z1rlGBypej7zdyGqOz2ImuA7ACT6bDFgXscoQSJNYcP40TLTu+kDaRbNcg0iu5sU0 ezUjnHYEry6YoF0Auw87mhEac9Y6hCAXFMkASp63tBRSHd7xS6kIsmX/C0nI65i/XU 6XMk5eWrWSZ+GyfT8SgW3QXZ2LLGHwiJ53fH6GB8ZvK4Q5+jUYYuKKAtO6udqIyh0g Rhqqg2PuZAenNoQ7QL1h/okPkkrXsuO2WI3AkfV1DkAgP98yluBcf9lVHeFvrJ1b2f 3lPeum3oOLh7uoKnp0faVHlSXzRYcZa/PqqpYbSeGG5yEcpnG7cTdv5pH5AbCLAV7T 7Th1cH+ac5qBA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-mmc@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org, Adrian Hunter , Ulf Hansson Subject: [PATCH] mmc: sdhci-msm: add static to local functions Date: Mon, 31 Jul 2017 21:00:46 +0900 Message-Id: <1501502446-13931-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Detected by sparse. Signed-off-by: Masahiro Yamada --- drivers/mmc/host/sdhci-msm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c index 9d601dc0d646..f35db061ee4c 100644 --- a/drivers/mmc/host/sdhci-msm.c +++ b/drivers/mmc/host/sdhci-msm.c @@ -611,7 +611,7 @@ static void msm_hc_select_hs400(struct sdhci_host *host) * HS400 - divided clock (free running MCLK/2) * All other modes - default (free running MCLK) */ -void sdhci_msm_hc_select_mode(struct sdhci_host *host) +static void sdhci_msm_hc_select_mode(struct sdhci_host *host) { struct mmc_ios ios = host->mmc->ios; @@ -1049,7 +1049,7 @@ static unsigned int sdhci_msm_get_min_clock(struct sdhci_host *host) * instead directly control the GCC clock as per * HW recommendation. **/ -void __sdhci_msm_set_clock(struct sdhci_host *host, unsigned int clock) +static void __sdhci_msm_set_clock(struct sdhci_host *host, unsigned int clock) { u16 clk; /*