diff options
author | Adrian Alonso <aalonso@freescale.com> | 2012-04-03 16:01:23 -0500 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-07-20 13:34:17 +0800 |
commit | 865c2f68350fb3d7e1e56f9a33ebe80953503f10 (patch) | |
tree | 0b4a34a90cae97c49e05489acfbffe6e4836a145 | |
parent | 0373c43b2b9e907d919fd2bc8238b7f296a71341 (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; |