From df2300945bd8f02fce6ac924e40cba2290a2a3ff Mon Sep 17 00:00:00 2001 From: Adrian Alonso Date: Tue, 3 Apr 2012 16:01:23 -0500 Subject: [PATCH] ENGR00178915: imx6 clock fix build warnings * Fix build warnings * clock.c: In function '_clk_pll1_enable': warning: no return statement in function returning non-void * clock.c: In function 'mx6_clocks_init': warning: unused variable 'reg' Signed-off-by: Adrian Alonso --- arch/arm/mach-mx6/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-mx6/clock.c b/arch/arm/mach-mx6/clock.c index c84d43a17c5c..c5074d32c620 100644 --- a/arch/arm/mach-mx6/clock.c +++ b/arch/arm/mach-mx6/clock.c @@ -531,6 +531,7 @@ static int _clk_pll1_enable(struct clk *clk) { _clk_pll_enable(clk); pll1_enabled = true; + return 0; } static struct clk pll1_sys_main_clk = { @@ -5147,7 +5148,6 @@ int __init mx6_clocks_init(unsigned long ckil, unsigned long osc, unsigned long ckih1, unsigned long ckih2) { __iomem void *base; - unsigned int reg; int i; external_low_reference = ckil; -- 2.39.5