]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: OMAP: Remove unnecessary mach and plat includes
authorTony Lindgren <tony@atomide.com>
Wed, 31 Oct 2012 19:38:43 +0000 (12:38 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 2 Nov 2012 19:00:36 +0000 (12:00 -0700)
Now mach/hardware.h is empty for omap2+ and can be
removed except for plat-omap/dmtimer.c for omap1.

Also the include of mach/irqs.h can now be removed
for shared plat-omap/i2c.c as it's no longer needed.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-2430sdp.c
arch/arm/mach-omap2/board-cm-t35.c
arch/arm/mach-omap2/hsmmc.c
arch/arm/plat-omap/debug-devices.c
arch/arm/plat-omap/dmtimer.c
arch/arm/plat-omap/fb.c
arch/arm/plat-omap/i2c.c

index 3fc6d839fb3a900b47087468eb93cca4433c5a2d..d1c01625fe5a5c11dc3f5e677970386bc552bc60 100644 (file)
@@ -28,7 +28,6 @@
 #include <linux/io.h>
 #include <linux/gpio.h>
 
-#include <mach/hardware.h>
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
index cf9449bde1865689b22faf21bf581836ac06bde3..a8cad2237a2a856d52d4701b7f62484c2314bd74 100644 (file)
@@ -44,8 +44,6 @@
 #include <video/omap-panel-tfp410.h>
 #include <linux/platform_data/spi-omap2-mcspi.h>
 
-#include <mach/hardware.h>
-
 #include "common.h"
 #include "mux.h"
 #include "sdram-micron-mt46h32m32lf-6.h"
index e3406dce59beacb155777857aade449e60d79d37..4a964338992a6a9c18ab3c1a96f9e153408d2be1 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/string.h>
 #include <linux/delay.h>
 #include <linux/gpio.h>
-#include <mach/hardware.h>
 #include <linux/platform_data/gpio-omap.h>
 
 #include "soc.h"
index b49be51202eeb162691baaab69c9732d9f4823fc..a609e2161817d403ebee91844848f073efd42f3e 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/io.h>
 #include <linux/smc91x.h>
 
-#include <mach/hardware.h>
 #include <plat/debug-devices.h>
 
 /* Many OMAP development platforms reuse the same "debug board"; these
index 9a0bbc455de719ec297b38f939cd8ede5225796c..82231a75abd601ed6e6cf55ff0d7f393237eefa9 100644 (file)
@@ -43,8 +43,6 @@
 
 #include <plat/dmtimer.h>
 
-#include <mach/hardware.h>
-
 static u32 omap_reserved_systimers;
 static LIST_HEAD(omap_timer_list);
 static DEFINE_SPINLOCK(dm_timer_lock);
@@ -270,7 +268,7 @@ int omap_dm_timer_get_irq(struct omap_dm_timer *timer)
 EXPORT_SYMBOL_GPL(omap_dm_timer_get_irq);
 
 #if defined(CONFIG_ARCH_OMAP1)
-
+#include <mach/hardware.h>
 /**
  * omap_dm_timer_modify_idlect_mask - Check if any running timers use ARMXOR
  * @inputmask: current value of idlect mask
index f868caeedfd6a545ee31f279680dbc52fbdf38fe..3a77b30f53d4550707a4744642b2fad1e128df38 100644 (file)
@@ -30,7 +30,6 @@
 #include <linux/io.h>
 #include <linux/omapfb.h>
 
-#include <mach/hardware.h>
 #include <asm/mach/map.h>
 
 #include <plat/cpu.h>
index 4645dd40b886c84c8a82d6b4babd2cb08818984e..f9df624d108cf45fdd10577258ff6e4cff6b2ad1 100644 (file)
@@ -33,8 +33,6 @@
 
 #include <plat/i2c.h>
 
-#include <mach/irqs.h>
-
 #define OMAP_I2C_MAX_CONTROLLERS 4
 static struct omap_i2c_bus_platform_data i2c_pdata[OMAP_I2C_MAX_CONTROLLERS];