[PATCH] ARM: shmobile: Cosmetic update of Lager DT Reference

Magnus Damm magnus.damm at gmail.com
Wed Oct 16 17:58:19 EDT 2013


From: Magnus Damm <damm at opensource.se>

Clean up the Lager DT reference board code to make it match
Koelsch DT reference including using the rcar-gen2 header.

Signed-off-by: Magnus Damm <damm at opensource.se>
---

 Written against renesas-devel-20131016

 arch/arm/mach-shmobile/board-lager-reference.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

--- 0001/arch/arm/mach-shmobile/board-lager-reference.c
+++ work/arch/arm/mach-shmobile/board-lager-reference.c	2013-10-08 15:32:05.000000000 +0900
@@ -20,16 +20,15 @@
 
 #include <linux/init.h>
 #include <linux/of_platform.h>
+#include <mach/rcar-gen2.h>
 #include <mach/r8a7790.h>
 #include <asm/mach/arch.h>
 
 static void __init lager_add_standard_devices(void)
 {
-	/* clocks are setup late during boot in the case of DT */
 	r8a7790_clock_init();
-
 	r8a7790_add_dt_devices();
-        of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
+	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
 }
 
 static const char *lager_boards_compat_dt[] __initdata = {



More information about the linux-arm-kernel mailing list