aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx1/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx1/clock.c')
-rw-r--r--arch/arm/mach-mx1/clock.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-mx1/clock.c b/arch/arm/mach-mx1/clock.c
index 3c464331b87..40a2274380a 100644
--- a/arch/arm/mach-mx1/clock.c
+++ b/arch/arm/mach-mx1/clock.c
@@ -25,6 +25,7 @@
25 25
26#include <mach/clock.h> 26#include <mach/clock.h>
27#include <mach/hardware.h> 27#include <mach/hardware.h>
28#include <mach/common.h>
28#include "crm_regs.h" 29#include "crm_regs.h"
29 30
30static int _clk_enable(struct clk *clk) 31static int _clk_enable(struct clk *clk)
@@ -594,7 +595,7 @@ static struct clk *mxc_clks[] = {
594 &rtc_clk, 595 &rtc_clk,
595}; 596};
596 597
597int __init mxc_clocks_init(unsigned long fref) 598int __init mx1_clocks_init(unsigned long fref)
598{ 599{
599 struct clk **clkp; 600 struct clk **clkp;
600 unsigned int reg; 601 unsigned int reg;
@@ -625,5 +626,7 @@ int __init mxc_clocks_init(unsigned long fref)
625 clk_enable(&hclk); 626 clk_enable(&hclk);
626 clk_enable(&fclk); 627 clk_enable(&fclk);
627 628
629 mxc_timer_init(&gpt_clk);
630
628 return 0; 631 return 0;
629} 632}