From patchwork Thu Jun 22 08:10:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 106190 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp2337135qgd; Thu, 22 Jun 2017 01:10:54 -0700 (PDT) X-Received: by 10.80.140.2 with SMTP id p2mr1573244edp.129.1498119054536; Thu, 22 Jun 2017 01:10:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498119054; cv=none; d=google.com; s=arc-20160816; b=QshhtWLriEkdf5PDO8sljlbRBhFoX7w6HKjep/88plQQIYBR4rTgte7EHswk0DbcDM 3Z1bOVjYqshAGq279owOD02etp23ERO61/8URoXsdWjwtXLHQJHVbrCCqAywDAbYmxUw SMHx3vrOtOyWLmsu212k47q5wa1hRddZdzH48r0gqIv1oorBeKKI+Ff1TDtsUOAwFZpc PLP3xGSDTDEOX58v6ijPUNT19jaFqxnd7bgYTkQgeEqEKFUGwEcug2oKyv1r0aGJ85Va 1ytLU1kynQBc2niuvQIbSXQJR3bHARoKGYxFgq1o3j2FptU21qG5M15ewTKnpG+mRgoE bKBg== 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:message-id:date:to:from:dkim-signature :dkim-filter:arc-authentication-results; bh=hYf0NCOAm8/K0iM4cJXl0GH4+DqYMqlXb5K8JqNj1gs=; b=JXKDzWGbZzzKBeeeUa7Nvvg6d1xtkr3bGkO/2S/EsziQ8FS8brWlv88FJQ1kyXZfrG NrR+tBvcJNDmbTuEaF8Gai+yczWOnXlrjAaBbiE3osj3jvTaa3hrAFLLMJzcdOA3MP8Z XvlWhTaM1FfRpp1/G4fQla2FPLthDo8QtTWBhBc7jfHcsWZdyqsgynfWyC9k5gH/WnX0 2m2Unr9cdtHbuoPtGyVUOMj5asIxykaR3ZS9QrLbkgC4stKWWluvR5uAXZQxJ0aa7LtY psuRo+yen3L+ywLEzMUaEjZ2W0Ta9cOR60ApzTxO8NOt+Ei+MfjyxUxjffA4ROnD5v9b uafw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.b=AM+KvlxA; 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 h26si671815edj.304.2017.06.22.01.10.54; Thu, 22 Jun 2017 01:10:54 -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=AM+KvlxA; 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 08B60C21C90; Thu, 22 Jun 2017 08:10:49 +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 6A223C21C4E; Thu, 22 Jun 2017 08:10:47 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 07A5CC21C4E; Thu, 22 Jun 2017 08:10:45 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id 0ADDCC21C49 for ; Thu, 22 Jun 2017 08:10:44 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5M8AD4S003510; Thu, 22 Jun 2017 17:10:13 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5M8AD4S003510 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1498119013; bh=uyX8stZynHLLknKRF559MwcBlsthoKo3WexJAwqoCpk=; h=From:To:Cc:Subject:Date:From; b=AM+KvlxAcNrSPDF4LQdoyOA5OUxTdYjkNTsSflpS5SXOPKgoucum3/2VGS3FVTJfx Oq7tkCTQot46/X7B/EBtthArJ+4xzCnMfkI6iKbFp6r/yXwSpeYZSsyNVwcotWwOtz CFhWHar3wHHp1EEcxdvqtte5bTaHfnhCOESsnwR8bgOX69GWNDqvP0IizSMYtk8H/R S7qfyUlM3rynHucnBTqD9QxkSTbiHhrxyagxbNFQ6ICX3jSATvDIR06uyzRiE9luz2 p4YfZBrISH9xGwJ6t8qLPdvoQw5gM4lEKjtM1d8ddhYXcipeJMo1OBdo+R8H9qyRL9 Sjdk1YBhiTCLA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 22 Jun 2017 17:10:11 +0900 Message-Id: <1498119011-17798-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Subject: [U-Boot] [PATCH] dm: include from driver/core/dump.c 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" Include to fix sparse warnings: symbol 'dm_dump_all' was not declared. Should it be static? symbol 'dm_dump_uclass' was not declared. Should it be static? Signed-off-by: Masahiro Yamada Reviewed-by: Bin Meng Acked-by: Simon Glass Acked-by: Simon Glass --- drivers/core/dump.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/core/dump.c b/drivers/core/dump.c index fd4596ee68b7..c3e109e7ed11 100644 --- a/drivers/core/dump.c +++ b/drivers/core/dump.c @@ -8,6 +8,7 @@ #include #include #include +#include static void show_devices(struct udevice *dev, int depth, int last_flag) {