diff options
Diffstat (limited to 'arch/arm/mach-shmobile/setup-rcar-gen2.c')
-rw-r--r-- | arch/arm/mach-shmobile/setup-rcar-gen2.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-shmobile/setup-rcar-gen2.c b/arch/arm/mach-shmobile/setup-rcar-gen2.c index d1fa625e61f5..51464cc6d65b 100644 --- a/arch/arm/mach-shmobile/setup-rcar-gen2.c +++ b/arch/arm/mach-shmobile/setup-rcar-gen2.c | |||
@@ -50,9 +50,7 @@ u32 rcar_gen2_read_mode_pins(void) | |||
50 | 50 | ||
51 | void __init rcar_gen2_timer_init(void) | 51 | void __init rcar_gen2_timer_init(void) |
52 | { | 52 | { |
53 | #if defined(CONFIG_ARM_ARCH_TIMER) || defined(CONFIG_COMMON_CLK) | ||
54 | u32 mode = rcar_gen2_read_mode_pins(); | 53 | u32 mode = rcar_gen2_read_mode_pins(); |
55 | #endif | ||
56 | #ifdef CONFIG_ARM_ARCH_TIMER | 54 | #ifdef CONFIG_ARM_ARCH_TIMER |
57 | void __iomem *base; | 55 | void __iomem *base; |
58 | int extal_mhz = 0; | 56 | int extal_mhz = 0; |
@@ -128,9 +126,7 @@ void __init rcar_gen2_timer_init(void) | |||
128 | iounmap(base); | 126 | iounmap(base); |
129 | #endif /* CONFIG_ARM_ARCH_TIMER */ | 127 | #endif /* CONFIG_ARM_ARCH_TIMER */ |
130 | 128 | ||
131 | #ifdef CONFIG_COMMON_CLK | ||
132 | rcar_gen2_clocks_init(mode); | 129 | rcar_gen2_clocks_init(mode); |
133 | #endif | ||
134 | #ifdef CONFIG_ARCH_SHMOBILE_MULTI | 130 | #ifdef CONFIG_ARCH_SHMOBILE_MULTI |
135 | clocksource_of_init(); | 131 | clocksource_of_init(); |
136 | #endif | 132 | #endif |