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: 9871723 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 1EE85602F0 for ; Mon, 31 Jul 2017 12:13:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0FBBE27F54 for ; Mon, 31 Jul 2017 12:13:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 03E1227F85; Mon, 31 Jul 2017 12:13:46 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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 B43B927F54 for ; Mon, 31 Jul 2017 12:13:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751647AbdGaMNo (ORCPT ); Mon, 31 Jul 2017 08:13:44 -0400 Received: from condef-09.nifty.com ([202.248.20.74]:63693 "EHLO condef-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750977AbdGaMNo (ORCPT ); Mon, 31 Jul 2017 08:13:44 -0400 Received: from conuserg-10.nifty.com ([10.126.8.73])by condef-09.nifty.com with ESMTP id v6VC1RMF030616 for ; Mon, 31 Jul 2017 21:01:27 +0900 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-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Detected by sparse. Signed-off-by: Masahiro Yamada Acked-by: Adrian Hunter --- drivers/mmc/host/sdhci-msm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; /*