[PATCH] ARM: shmobile: Minor update for the Lager DT reference code

Magnus Damm magnus.damm at gmail.com
Mon Jul 8 02:16:46 EDT 2013


From: Magnus Damm <damm at opensource.se>

Update the Lager DT reference code to get rid of the redundant
irqchip header and also make lager_add_standard_devices() static.

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

 Written against "renesas-next-20130704v2"

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

--- 0001/arch/arm/mach-shmobile/board-lager-reference.c
+++ work/arch/arm/mach-shmobile/board-lager-reference.c	2013-07-08 15:10:21.000000000 +0900
@@ -19,12 +19,11 @@
  */
 
 #include <linux/init.h>
-#include <linux/irqchip.h>
 #include <linux/of_platform.h>
 #include <mach/r8a7790.h>
 #include <asm/mach/arch.h>
 
-void __init lager_add_standard_devices(void)
+static void __init lager_add_standard_devices(void)
 {
 	/* clocks are setup late during boot in the case of DT */
 	r8a7790_clock_init();



More information about the linux-arm-kernel mailing list