diff options
author | Magnus Damm <damm@opensource.se> | 2013-11-07 00:31:25 +0100 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-12-10 09:24:25 +0100 |
commit | 7d91c4691207a302c50308ab38706b8a3d6039cd (patch) | |
tree | b487f7be7744e4fc45b923939661ed17260f67a6 /arch/arm/mach-shmobile/board-genmai-reference.c | |
parent | ARM: shmobile: r7s72100 Genmai DT reference C bits (diff) | |
download | linux-7d91c4691207a302c50308ab38706b8a3d6039cd.tar.xz linux-7d91c4691207a302c50308ab38706b8a3d6039cd.zip |
ARM: shmobile: r7s72100 Genmai Multiplatform
Add r7s72100 Genmai to SHMOBILE_MULTI.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/board-genmai-reference.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-genmai-reference.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-genmai-reference.c b/arch/arm/mach-shmobile/board-genmai-reference.c index 34c98819cf12..7630c1053e32 100644 --- a/arch/arm/mach-shmobile/board-genmai-reference.c +++ b/arch/arm/mach-shmobile/board-genmai-reference.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <linux/clk-provider.h> #include <linux/kernel.h> #include <linux/of_platform.h> #include <mach/common.h> @@ -27,7 +28,11 @@ static void __init genmai_add_standard_devices(void) { +#ifdef CONFIG_COMMON_CLK + of_clk_init(NULL); +#else r7s72100_clock_init(); +#endif r7s72100_add_dt_devices(); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); } |