[PATCH] ARM: OMAP: Introduce local common.h files

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Nov 11 11:17:27 EST 2011


On Thu, Nov 10, 2011 at 03:33:47PM -0800, Tony Lindgren wrote:
> * Russell King - ARM Linux <linux at arm.linux.org.uk> [111110 13:54]:
> > Thanks, merged that into the series.  The updated OMAP patch updated is
> > below, which has been moved to part 2.  Lastly, the final patch of part
> > 2 has been updated to delete the empty arch_reset(), so OMAP is now
> > entirely free of arch_reset() references.  This leaves a total of 12
> > references left to nobble.
> 
> Great, good to hear.

I've added this to the patch, as these no longer need to include this
header.

diff --git a/arch/arm/mach-omap1/board-voiceblue.c b/arch/arm/mach-omap1/board-voiceblue.c
index fb61434..f83a502d 100644
--- a/arch/arm/mach-omap1/board-voiceblue.c
+++ b/arch/arm/mach-omap1/board-voiceblue.c
@@ -28,7 +28,6 @@
 #include <linux/export.h>
 
 #include <mach/hardware.h>
-#include <mach/system.h>
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
diff --git a/arch/arm/mach-omap1/reset.c b/arch/arm/mach-omap1/reset.c
index 8b1cc6e..91d199b 100644
--- a/arch/arm/mach-omap1/reset.c
+++ b/arch/arm/mach-omap1/reset.c
@@ -5,7 +5,6 @@
 #include <linux/io.h>
 
 #include <mach/hardware.h>
-#include <mach/system.h>
 #include <plat/prcm.h>
 
 void omap1_restart(char mode, const char *cmd)
diff --git a/arch/arm/mach-omap2/prcm.c b/arch/arm/mach-omap2/prcm.c
index b6c8cb5..626acfa 100644
--- a/arch/arm/mach-omap2/prcm.c
+++ b/arch/arm/mach-omap2/prcm.c
@@ -25,7 +25,6 @@
 #include <linux/delay.h>
 #include <linux/export.h>
 
-#include <mach/system.h>
 #include "common.h"
 #include <plat/prcm.h>
 #include <plat/irqs.h>




More information about the linux-arm-kernel mailing list