From: Takashi Yoshii Date: Tue, 8 Oct 2013 05:34:03 +0000 (+0900) Subject: ARM: shmobile: kzm9d: Use common clock framework X-Git-Tag: v3.14.28+ltsi~780 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=61da94ec40cfe05fc92fe516024c515c6472d522;p=platform%2Fkernel%2Flinux-stable.git ARM: shmobile: kzm9d: Use common clock framework Use common clock framework version of clock drivers/clk/shmobile/clk-emev2.c instead of sh-clkfwk version arch/arm/mach-shmobile/clock-emev2.c when it is configured as a part of multi-platform. Signed-off-by: Takashi Yoshii Acked-by: Magnus Damm Signed-off-by: Simon Horman (cherry picked from commit ef5ecd1f20de2d1919714f029f5016bf6d061e66) Signed-off-by: Simon Horman --- diff --git a/arch/arm/mach-shmobile/board-kzm9d-reference.c b/arch/arm/mach-shmobile/board-kzm9d-reference.c index 054d8d5..853003c 100644 --- a/arch/arm/mach-shmobile/board-kzm9d-reference.c +++ b/arch/arm/mach-shmobile/board-kzm9d-reference.c @@ -20,15 +20,14 @@ #include #include +#include #include #include #include static void __init kzm9d_add_standard_devices(void) { - if (!IS_ENABLED(CONFIG_COMMON_CLK)) - emev2_clock_init(); - + of_clk_init(NULL); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); }