From patchwork Thu Jun 22 07:52:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 106183 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp2330860qgd; Thu, 22 Jun 2017 00:53:40 -0700 (PDT) X-Received: by 10.80.169.193 with SMTP id n59mr1544765edc.181.1498118020249; Thu, 22 Jun 2017 00:53:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498118020; cv=none; d=google.com; s=arc-20160816; b=scJYUolhbdm94OvxQ71e7jyjTZ8FjZTzKEVOP66T/1a4i5pUG6FIykzGJr3RwD5QFO 2LsL9cV9ccJ/2MI8JQdlXO0QlDHGCyZqhdKOlVZRp9Ir0OX5mFL/QB0qSPY/g+csqk3i 916k6Vyw6iUcgMZq5HKjvREEc2Q3Ajua1gwRjJIsba+POqrl/vZVRiTlMQz+oHZrtghO gnvjohkkzBlLqGZlQCUM2GPzBptqAs5UUI/yqzyTcdzQzLZZOQ393xDOAbrG5mYF4EDD d2bvkT3pNUrEVHgxrgv4z9MKT6cNoDNnXSYL9URWdIQ3OMWUF8qo5JHrVEUDcTDg4YXv 0kBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=drCi2QKehp3QOGxL0Tp6lnXljC+H9FgvjOoVbDefFf4=; b=kkFnhFYyruvQjxpb2k4L3wDiU3B0SUCa89OUUfxm+twV4ZRTJFDFQiJLk/fyaFQKNU +OfNL3mtVgTzo/Zelt4d8ylR7pQcgJxM6vbfMioow/wYsUc4z4ZRVXAsoVO65z60teSG h1ajatyPpBsD7NjM0uYxrNh19bTdXF30UTFGu0Fd1avIJAoCWg+UZYe8BWPBStpXF925 KK4ygdvEp53rBkMKjTFz5113Mfcn3zwxMe4MOOBNRV2HZqhG4ryw9ejJRpFpRNJSQ0Js 5QC+Pk7sEuA/phPcxU4H9xXrE6vPCDUn09ExUhIlqT3+34Ewyd7YB0e7Zko72+zPdrmy ZeHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.b=QZ+6SMUm; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id s56si1222124eda.51.2017.06.22.00.53.39; Thu, 22 Jun 2017 00:53:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.b=QZ+6SMUm; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id C9B07C21C9D; Thu, 22 Jun 2017 07:53:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id B3850C21C55; Thu, 22 Jun 2017 07:53:35 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 46BC0C21C55; Thu, 22 Jun 2017 07:53:33 +0000 (UTC) Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by lists.denx.de (Postfix) with ESMTPS id 5BC7CC21C3E for ; Thu, 22 Jun 2017 07:53:32 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id v5M7qdOW031978; Thu, 22 Jun 2017 16:52:40 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v5M7qdOW031978 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1498117960; bh=jZSe7lRHEhE8zPb5RVlEBhzMUbgg9yNqGBGxrL+H3g8=; h=From:To:Cc:Subject:Date:From; b=QZ+6SMUmdukQQRLDoXJ5CopCcAMpTKtaxEqX2ZdFBWbFA6NRS57tRjmM0kNIUJQnK 5YXmuXHivqpGjEyrOi9+cxuZHut+o+GJvm3Hfxv1V+T0rB1g4SvJ1JSJTJAz6fxD3N N8idlt4uY57banPhn69MgQKMRNy7VflX7rhG6wRqR+aOlkUZVIgqVkkkIk+GHbI9q8 zaxczWg0N3VGJ+j6FfqSJogcbi9Akps3c6FihH1qXWsYdkKa7y89hqpxATTGfBeOsC kLQSczLaWqYtVtGJu5fnrZKuHAsRF7Sp0PEA2HK5Xt/WPrJoeguL/9fYD36EJAGehp GQvDTWm0E9WIQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 22 Jun 2017 16:52:36 +0900 Message-Id: <1498117957-17688-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Cc: Marek Vasut , Max Krummenacher , Andre Przywara Subject: [U-Boot] [PATCH] mmc: add static to spl_mmc_get_device_index() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" This function is only used in common/spl/spl_mmc.c[ Signed-off-by: Masahiro Yamada Reviewed-by: Bin Meng --- common/spl/spl_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c index 18c1b59b22cc..bb48cac1efac 100644 --- a/common/spl/spl_mmc.c +++ b/common/spl/spl_mmc.c @@ -96,7 +96,7 @@ end: return 0; } -int spl_mmc_get_device_index(u32 boot_device) +static int spl_mmc_get_device_index(u32 boot_device) { switch (boot_device) { case BOOT_DEVICE_MMC1: