From 08246898612bb30b04341f513d84e766258024d0 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Tue, 12 Dec 2017 13:14:54 +0100 Subject: [PATCH] arm64: zynqmp: Remove compilation warning coming from psu_init_gpl.c dpll_prog is not called that's why it is reported as unused function. Label it not to caused warning. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp-zcu100-revC/psu_init_gpl.c | 2 +- board/xilinx/zynqmp/zynqmp-zcu104-revA/psu_init_gpl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/xilinx/zynqmp/zynqmp-zcu100-revC/psu_init_gpl.c b/board/xilinx/zynqmp/zynqmp-zcu100-revC/psu_init_gpl.c index f86b5de56aa..b5a95d2c836 100644 --- a/board/xilinx/zynqmp/zynqmp-zcu100-revC/psu_init_gpl.c +++ b/board/xilinx/zynqmp/zynqmp-zcu100-revC/psu_init_gpl.c @@ -20780,7 +20780,7 @@ static u32 mask_read(u32 add, u32 mask) return val; } -static void dpll_prog(int ddr_pll_fbdiv, int d_lock_dly, int d_lock_cnt, +static void __maybe_unused dpll_prog(int ddr_pll_fbdiv, int d_lock_dly, int d_lock_cnt, int d_lfhf, int d_cp, int d_res) { unsigned int pll_ctrl_regval; diff --git a/board/xilinx/zynqmp/zynqmp-zcu104-revA/psu_init_gpl.c b/board/xilinx/zynqmp/zynqmp-zcu104-revA/psu_init_gpl.c index 5368b36d1df..e25c81f7381 100644 --- a/board/xilinx/zynqmp/zynqmp-zcu104-revA/psu_init_gpl.c +++ b/board/xilinx/zynqmp/zynqmp-zcu104-revA/psu_init_gpl.c @@ -19494,7 +19494,7 @@ static u32 mask_read(u32 add, u32 mask) return val; } -static void dpll_prog(int ddr_pll_fbdiv, int d_lock_dly, int d_lock_cnt, +static void __maybe_unused dpll_prog(int ddr_pll_fbdiv, int d_lock_dly, int d_lock_cnt, int d_lfhf, int d_cp, int d_res) { unsigned int pll_ctrl_regval; -- 2.47.3