From patchwork Sat Oct 8 04:25:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 77385 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp502017qge; Fri, 7 Oct 2016 21:28:20 -0700 (PDT) X-Received: by 10.194.123.5 with SMTP id lw5mr19446475wjb.174.1475900900665; Fri, 07 Oct 2016 21:28:20 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id ni8si25301410wjb.46.2016.10.07.21.28.20; Fri, 07 Oct 2016 21:28:20 -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 2C55EB3850; Sat, 8 Oct 2016 06:28:04 +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 i1R2cRUHPz6E; Sat, 8 Oct 2016 06:28:04 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 62FAAA76D7; Sat, 8 Oct 2016 06:27:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 02190A7594 for ; Sat, 8 Oct 2016 06:26:29 +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 JWebOnzoTB6Z for ; Sat, 8 Oct 2016 06:26:28 +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-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by theia.denx.de (Postfix) with ESMTPS id 2D294A76F3 for ; Sat, 8 Oct 2016 06:25:57 +0200 (CEST) Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-07.nifty.com with ESMTP id u984PXpq027913; Sat, 8 Oct 2016 13:25:41 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com u984PXpq027913 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1475900741; bh=CZOYjVQpcG3AIlLrZXLgPNTK/2ugfv40nrz4W5K0FQk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ngpk4lNVUYZcHA/+inLQMkdufhNMYlkok8V+Bv5VDPNkJZ+aFOg1Zf5civnJGPacW pXP1V6/hLpliIODoGGkB+iqh4pmj0nX22Q3UAgAtrzgqBEM+lYXMP/mN1jhFo/vp1v 90II8H7NX+97iqRTuIgavTpDL5yEQXJtGbYFMd+UsJyP9CgLvgvhZvZzwqTm65ZFO0 0HgXGWqzycgSgXCgDK+kLh4yD+bEah2iGVtdFbhBOvSBsQofT41ujQTmIWirfmlaHy buJFx5cwHGcpoUwEnoVjBqnW4DIpiCaBrjwf82aitgvfbB08Cy0r3bR6kdWqENFRM+ kx9exYuAx+yMA== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sat, 8 Oct 2016 13:25:30 +0900 Message-Id: <1475900731-10998-9-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1475900731-10998-1-git-send-email-yamada.masahiro@socionext.com> References: <1475900731-10998-1-git-send-email-yamada.masahiro@socionext.com> Subject: [U-Boot] [PATCH 8/9] reset: declare fdtdec_phandle_args as struct to fix warning 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" The of_xlate() callback needs to know fdtdec_phandle_args is struct. Otherwise, the following warning is displayed. include/reset-uclass.h:40:11: warning: 'struct fdtdec_phandle_args' declared inside parameter list struct fdtdec_phandle_args *args); ^ include/reset-uclass.h:40:11: warning: its scope is only this definition or declaration, which is probably not what you want Signed-off-by: Masahiro Yamada --- include/reset-uclass.h | 1 + 1 file changed, 1 insertion(+) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/include/reset-uclass.h b/include/reset-uclass.h index 50adeca..38c716f 100644 --- a/include/reset-uclass.h +++ b/include/reset-uclass.h @@ -11,6 +11,7 @@ #include +struct fdtdec_phandle_args; struct udevice; /**