diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2014-05-16 08:10:13 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-05-16 20:06:11 -0400 |
commit | 88351216f595786a24ff6cb7df7b101811981c78 (patch) | |
tree | 0c1a6e45e67c27f4796f09a6ca20c214c239d853 | |
parent | 551f80a5c915c4615cd4065ad4db5cf68f765b97 (diff) |
ARM: shmobile: genmai-reference: Remove legacy clock support
genmai-reference is now only built for multiplatform which means that
CCF comes with the package. Remove unused legacy code ifdefs to clean up
the code.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm/mach-shmobile/board-genmai-reference.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-shmobile/board-genmai-reference.c b/arch/arm/mach-shmobile/board-genmai-reference.c index 33015e5ed52a..968bbba20d08 100644 --- a/arch/arm/mach-shmobile/board-genmai-reference.c +++ b/arch/arm/mach-shmobile/board-genmai-reference.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <asm/mach-types.h> | 26 | #include <asm/mach-types.h> |
27 | #include <asm/mach/arch.h> | 27 | #include <asm/mach/arch.h> |
28 | 28 | ||
29 | #ifdef CONFIG_COMMON_CLK | ||
30 | /* | 29 | /* |
31 | * This is a really crude hack to provide clkdev support to platform | 30 | * This is a really crude hack to provide clkdev support to platform |
32 | * devices until they get moved to DT. | 31 | * devices until they get moved to DT. |
@@ -34,15 +33,10 @@ | |||
34 | static const struct clk_name clk_names[] = { | 33 | static const struct clk_name clk_names[] = { |
35 | { "mtu2", "fck", "sh-mtu2" }, | 34 | { "mtu2", "fck", "sh-mtu2" }, |
36 | }; | 35 | }; |
37 | #endif | ||
38 | 36 | ||
39 | static void __init genmai_add_standard_devices(void) | 37 | static void __init genmai_add_standard_devices(void) |
40 | { | 38 | { |
41 | #ifdef CONFIG_COMMON_CLK | ||
42 | shmobile_clk_workaround(clk_names, ARRAY_SIZE(clk_names), true); | 39 | shmobile_clk_workaround(clk_names, ARRAY_SIZE(clk_names), true); |
43 | #else | ||
44 | r7s72100_clock_init(); | ||
45 | #endif | ||
46 | r7s72100_add_dt_devices(); | 40 | r7s72100_add_dt_devices(); |
47 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | 41 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); |
48 | } | 42 | } |