From 8786f914ecce9226d842ec9ec7527be182f52992 Mon Sep 17 00:00:00 2001 From: chenxing Date: Tue, 21 May 2013 10:24:05 +0800 Subject: [PATCH] rk3188: fix compile warning of mach-rk3188/clock_data.c --- arch/arm/mach-rk3188/clock_data.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-rk3188/clock_data.c b/arch/arm/mach-rk3188/clock_data.c index 555aa63ba5e9..ef6b7a424fc1 100755 --- a/arch/arm/mach-rk3188/clock_data.c +++ b/arch/arm/mach-rk3188/clock_data.c @@ -3315,7 +3315,8 @@ static void periph_clk_set_init(void) static void cpu_axi_init(void) { - unsigned long cpu_div_rate, aclk_cpu_rate, hclk_cpu_rate, pclk_cpu_rate, ahb2apb_cpu_rate; + unsigned long cpu_div_rate = 0, aclk_cpu_rate = 0, hclk_cpu_rate = 0, + pclk_cpu_rate = 0, ahb2apb_cpu_rate = 0; unsigned long gpll_rate = general_pll_clk.rate; switch (gpll_rate) { -- 2.34.1