diff options
Diffstat (limited to 'arch/arm/mach-spear6xx')
-rw-r--r-- | arch/arm/mach-spear6xx/clock.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-spear6xx/include/mach/generic.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-spear6xx/spear6xx.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-spear6xx/clock.c b/arch/arm/mach-spear6xx/clock.c index 88b748b5be80..ac70e0d88fef 100644 --- a/arch/arm/mach-spear6xx/clock.c +++ b/arch/arm/mach-spear6xx/clock.c | |||
@@ -671,12 +671,12 @@ static struct clk_lookup spear_clk_lookups[] = { | |||
671 | { .dev_id = "gpio2", .clk = &gpio2_clk}, | 671 | { .dev_id = "gpio2", .clk = &gpio2_clk}, |
672 | }; | 672 | }; |
673 | 673 | ||
674 | void __init clk_init(void) | 674 | void __init spear6xx_clk_init(void) |
675 | { | 675 | { |
676 | int i; | 676 | int i; |
677 | 677 | ||
678 | for (i = 0; i < ARRAY_SIZE(spear_clk_lookups); i++) | 678 | for (i = 0; i < ARRAY_SIZE(spear_clk_lookups); i++) |
679 | clk_register(&spear_clk_lookups[i]); | 679 | clk_register(&spear_clk_lookups[i]); |
680 | 680 | ||
681 | recalc_root_clocks(); | 681 | clk_init(); |
682 | } | 682 | } |
diff --git a/arch/arm/mach-spear6xx/include/mach/generic.h b/arch/arm/mach-spear6xx/include/mach/generic.h index 94cf4a648b57..183f0238c5e2 100644 --- a/arch/arm/mach-spear6xx/include/mach/generic.h +++ b/arch/arm/mach-spear6xx/include/mach/generic.h | |||
@@ -39,7 +39,7 @@ void __init spear6xx_map_io(void); | |||
39 | void __init spear6xx_init_irq(void); | 39 | void __init spear6xx_init_irq(void); |
40 | void __init spear6xx_init(void); | 40 | void __init spear6xx_init(void); |
41 | void __init spear600_init(void); | 41 | void __init spear600_init(void); |
42 | void __init clk_init(void); | 42 | void __init spear6xx_clk_init(void); |
43 | 43 | ||
44 | /* Add spear600 machine device structure declarations here */ | 44 | /* Add spear600 machine device structure declarations here */ |
45 | 45 | ||
diff --git a/arch/arm/mach-spear6xx/spear6xx.c b/arch/arm/mach-spear6xx/spear6xx.c index 981812961ac7..e0f6628c8b2c 100644 --- a/arch/arm/mach-spear6xx/spear6xx.c +++ b/arch/arm/mach-spear6xx/spear6xx.c | |||
@@ -148,7 +148,7 @@ void __init spear6xx_map_io(void) | |||
148 | iotable_init(spear6xx_io_desc, ARRAY_SIZE(spear6xx_io_desc)); | 148 | iotable_init(spear6xx_io_desc, ARRAY_SIZE(spear6xx_io_desc)); |
149 | 149 | ||
150 | /* This will initialize clock framework */ | 150 | /* This will initialize clock framework */ |
151 | clk_init(); | 151 | spear6xx_clk_init(); |
152 | } | 152 | } |
153 | 153 | ||
154 | static void __init spear6xx_timer_init(void) | 154 | static void __init spear6xx_timer_init(void) |