aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Hecht <ulrich.hecht+renesas@gmail.com>2015-01-20 07:51:40 -0500
committerSimon Horman <horms+renesas@verge.net.au>2015-02-23 16:37:46 -0500
commitccc83dce9d4ebdfc5a74045c5a00518f08884313 (patch)
tree1dc81782ecbf43f23ef63316c3839bd16fc2d825
parenta76809a329d6ebae6cdf995670cc770304e265c0 (diff)
ARM: shmobile: ape6evm: Disable legacy clock initialization
Disables r8a73a4_clock_init() if CCF is enabled. Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/mach-shmobile/board-ape6evm-reference.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/board-ape6evm-reference.c b/arch/arm/mach-shmobile/board-ape6evm-reference.c
index 3b68370b03a0..dd5bc63aba42 100644
--- a/arch/arm/mach-shmobile/board-ape6evm-reference.c
+++ b/arch/arm/mach-shmobile/board-ape6evm-reference.c
@@ -29,7 +29,7 @@
29 29
30static void __init ape6evm_add_standard_devices(void) 30static void __init ape6evm_add_standard_devices(void)
31{ 31{
32 32#ifndef CONFIG_COMMON_CLK
33 struct clk *parent; 33 struct clk *parent;
34 struct clk *mp; 34 struct clk *mp;
35 35
@@ -43,6 +43,7 @@ static void __init ape6evm_add_standard_devices(void)
43 clk_set_parent(mp, parent); 43 clk_set_parent(mp, parent);
44 clk_put(parent); 44 clk_put(parent);
45 clk_put(mp); 45 clk_put(mp);
46#endif
46 47
47 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 48 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
48} 49}