From: Tom Rini Date: Wed, 30 Oct 2019 23:09:45 -0400 Subject: [U-Boot] [PATCH v2 1/5] ARM: MediaTek: Add support for MediaTek MT8518 SoC In-Reply-To: <20191021065908.31680-2-mingming.lee@mediatek.com> References: <20191021065908.31680-1-mingming.lee@mediatek.com> <20191021065908.31680-2-mingming.lee@mediatek.com> Message-ID: <20191031030945.GA25253@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Oct 21, 2019 at 02:59:04PM +0800, mingming lee wrote: > Add support for MediaTek MT8518 SoC. This include the file > that will initialize the SoC after boot and its device tree. > > Signed-off-by: mingming lee > --- > Changes for v2: > -drop unused 'device' in dtsi to keep it simple Please fix problems such as: +drivers/clk/mediatek/clk-mt8518.c:1294:35: error: 'top7_cg_regs' defined but not used [-Werror=unused-const-variable=] + static const struct mtk_gate_regs top7_cg_regs = { + ^~~~~~~~~~~~ +drivers/clk/mediatek/clk-mt8518.c:1288:35: error: 'top6_cg_regs' defined but not used [-Werror=unused-const-variable=] + static const struct mtk_gate_regs top6_cg_regs = { +cc1: all warnings being treated as errors +make[4]: *** [drivers/clk/mediatek/clk-mt8518.o] Error 1 +make[3]: *** [drivers/clk/mediatek] Error 2 +make[2]: *** [drivers/clk] Error 2 +make[1]: *** [drivers] Error 2 and ensure everything builds without warning, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: