[PATCH 03/13] ARM: shmobile: ape6evm: Disable legacy clock initialization
Simon Horman
horms+renesas at verge.net.au
Wed Mar 4 17:57:55 PST 2015
From: Ulrich Hecht <ulrich.hecht+renesas at gmail.com>
Disables r8a73a4_clock_init() if CCF is enabled.
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas at gmail.com>
Acked-by: Geert Uytterhoeven <geert+renesas at glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
Signed-off-by: Simon Horman <horms+renesas at verge.net.au>
---
arch/arm/mach-shmobile/board-ape6evm-reference.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/board-ape6evm-reference.c b/arch/arm/mach-shmobile/board-ape6evm-reference.c
index 3b68370..dd5bc63 100644
--- a/arch/arm/mach-shmobile/board-ape6evm-reference.c
+++ b/arch/arm/mach-shmobile/board-ape6evm-reference.c
@@ -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);
}
--
2.1.4
More information about the linux-arm-kernel
mailing list