From patchwork Fri Aug 12 10:19:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 73867 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp330030qga; Fri, 12 Aug 2016 12:36:48 -0700 (PDT) X-Received: by 10.194.59.77 with SMTP id x13mr17387271wjq.144.1471030608608; Fri, 12 Aug 2016 12:36:48 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id lf2si8410776wjc.11.2016.08.12.12.36.48; Fri, 12 Aug 2016 12:36:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8EC19B3803; Fri, 12 Aug 2016 21:36:47 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AMdu8qNlGWst; Fri, 12 Aug 2016 21:36:47 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B2521B384F; Fri, 12 Aug 2016 21:03:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3E31A4B660 for ; Fri, 12 Aug 2016 12:17:44 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hd8N02NTrgqY for ; Fri, 12 Aug 2016 12:17:43 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by theia.denx.de (Postfix) with ESMTPS id C4DCD4B656 for ; Fri, 12 Aug 2016 12:17:29 +0200 (CEST) Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id u7CAHFBM011225; Fri, 12 Aug 2016 19:17:15 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com u7CAHFBM011225 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1470997035; bh=bj3gVS2E+B5uAA/tyKpeFnE+6CrQnGFfTZCZs9KraH4=; h=From:To:Cc:Subject:Date:From; b=Bb7juKAgDF9Pf1PhkRqL21cRAgcBc+ldqKkIyAzrvDmybs9sIR9JnOJh1ORC2SQny 3Amvu5Is7K9Hd0IJr0GDJgToL8K0uQdovV4d5bT18JqgBYeO30HbhJAoCVxoMA7sZ1 WAAC5dozgZdHgcZzkNT2avqVbl//oyFCiUeLrZn9fmsS56k+o2zdnZA0rKIWsCnroi SrPfD4ZvDxF1Ess9LL4z4rrrSe6qhl5h6/9yGGF8dN8Q0bns2BAANEDmFs/0naERsK GKoISi0rxAhenBh44g8A46/0JGtv7U1X8A336c8UWvz6H+ym1kL5s0SJY79m7uNOPY gDD45pFnyaLww== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Fri, 12 Aug 2016 19:19:03 +0900 Message-Id: <1470997143-15083-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 Subject: [U-Boot] [PATCH] mmc: uniphier-sd: add static qualifiers to probe and remove callbacks X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" They are both only referenced in this file. Signed-off-by: Masahiro Yamada --- drivers/mmc/uniphier-sd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/drivers/mmc/uniphier-sd.c b/drivers/mmc/uniphier-sd.c index 2a48378..f06e737 100644 --- a/drivers/mmc/uniphier-sd.c +++ b/drivers/mmc/uniphier-sd.c @@ -646,7 +646,7 @@ static const struct mmc_ops uniphier_sd_ops = { .getcd = uniphier_sd_getcd, }; -int uniphier_sd_probe(struct udevice *dev) +static int uniphier_sd_probe(struct udevice *dev) { struct uniphier_sd_priv *priv = dev_get_priv(dev); struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); @@ -731,7 +731,7 @@ int uniphier_sd_probe(struct udevice *dev) return 0; } -int uniphier_sd_remove(struct udevice *dev) +static int uniphier_sd_remove(struct udevice *dev) { struct uniphier_sd_priv *priv = dev_get_priv(dev);