diff options
Diffstat (limited to 'arch/arm/mach-ux500/clock.c')
-rw-r--r-- | arch/arm/mach-ux500/clock.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-ux500/clock.c b/arch/arm/mach-ux500/clock.c index 1762c4728f1e..8d73b066a18d 100644 --- a/arch/arm/mach-ux500/clock.c +++ b/arch/arm/mach-ux500/clock.c | |||
@@ -635,7 +635,7 @@ static int clk_debugfs_register(struct clk *c) | |||
635 | return 0; | 635 | return 0; |
636 | } | 636 | } |
637 | 637 | ||
638 | static int __init clk_debugfs_init(void) | 638 | int __init clk_debugfs_init(void) |
639 | { | 639 | { |
640 | struct clk *c; | 640 | struct clk *c; |
641 | struct dentry *d; | 641 | struct dentry *d; |
@@ -657,7 +657,6 @@ err_out: | |||
657 | return err; | 657 | return err; |
658 | } | 658 | } |
659 | 659 | ||
660 | late_initcall(clk_debugfs_init); | ||
661 | #endif /* defined(CONFIG_DEBUG_FS) */ | 660 | #endif /* defined(CONFIG_DEBUG_FS) */ |
662 | 661 | ||
663 | unsigned long clk_smp_twd_rate = 500000000; | 662 | unsigned long clk_smp_twd_rate = 500000000; |
@@ -696,12 +695,11 @@ static struct notifier_block clk_twd_cpufreq_nb = { | |||
696 | .notifier_call = clk_twd_cpufreq_transition, | 695 | .notifier_call = clk_twd_cpufreq_transition, |
697 | }; | 696 | }; |
698 | 697 | ||
699 | static int clk_init_smp_twd_cpufreq(void) | 698 | int clk_init_smp_twd_cpufreq(void) |
700 | { | 699 | { |
701 | return cpufreq_register_notifier(&clk_twd_cpufreq_nb, | 700 | return cpufreq_register_notifier(&clk_twd_cpufreq_nb, |
702 | CPUFREQ_TRANSITION_NOTIFIER); | 701 | CPUFREQ_TRANSITION_NOTIFIER); |
703 | } | 702 | } |
704 | late_initcall(clk_init_smp_twd_cpufreq); | ||
705 | 703 | ||
706 | #endif | 704 | #endif |
707 | 705 | ||