ARM: shmobile: ape6evm: Disable legacy clock initialization
authorUlrich Hecht <ulrich.hecht+renesas@gmail.com>
Tue, 20 Jan 2015 12:51:40 +0000 (13:51 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 23 Feb 2015 21:37:46 +0000 (06:37 +0900)
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>
arch/arm/mach-shmobile/board-ape6evm-reference.c

index 3b68370b03a09ad1fa64e7aadc1acf7396f17c22..dd5bc63aba421df2a6a3a127e1e1690ab0078037 100644 (file)
@@ -29,7 +29,7 @@
 
 static void __init ape6evm_add_standard_devices(void)
 {
-
+#ifndef CONFIG_COMMON_CLK
        struct clk *parent;
        struct clk *mp;
 
@@ -43,6 +43,7 @@ static void __init ape6evm_add_standard_devices(void)
        clk_set_parent(mp, parent);
        clk_put(parent);
        clk_put(mp);
+#endif
 
        of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
 }