diff options
Diffstat (limited to 'arch/sh/kernel/cpu/clock-cpg.c')
-rw-r--r-- | arch/sh/kernel/cpu/clock-cpg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/clock-cpg.c b/arch/sh/kernel/cpu/clock-cpg.c index b4ca20048446..b78c237ab366 100644 --- a/arch/sh/kernel/cpu/clock-cpg.c +++ b/arch/sh/kernel/cpu/clock-cpg.c | |||
@@ -2,6 +2,7 @@ | |||
2 | #include <linux/compiler.h> | 2 | #include <linux/compiler.h> |
3 | #include <asm/clock.h> | 3 | #include <asm/clock.h> |
4 | 4 | ||
5 | #ifdef CONFIG_SH_CLK_CPG_LEGACY | ||
5 | static struct clk master_clk = { | 6 | static struct clk master_clk = { |
6 | .name = "master_clk", | 7 | .name = "master_clk", |
7 | .flags = CLK_ENABLE_ON_INIT, | 8 | .flags = CLK_ENABLE_ON_INIT, |
@@ -58,3 +59,4 @@ int __init __weak arch_clk_init(void) | |||
58 | { | 59 | { |
59 | return cpg_clk_init(); | 60 | return cpg_clk_init(); |
60 | } | 61 | } |
62 | #endif /* CONFIG_SH_CPG_CLK_LEGACY */ | ||