diff options
author | Adrian Alonso <aalonso@freescale.com> | 2012-04-03 16:01:23 -0500 |
---|---|---|
committer | Adrian Alonso <aalonso@freescale.com> | 2012-04-05 10:46:13 -0500 |
commit | e734f328170f3aceb3d48a9887e231230e26c9ad (patch) | |
tree | 63830d33f9ef0d70b132af587d74310841d72ecf | |
parent | 82598621fb9417eebe875f16052e8dedabea0dec (diff) |
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 <aalonso@freescale.com>
-rw-r--r-- | arch/arm/mach-mx6/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |