summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-08-03 16:06:16 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-08-07 10:40:04 +0200
commit0f8469a54f7bd65f2c740a5480c56260dc8a7ae0 (patch)
tree4f922bf707c379352eb4c077fbb0a8c48c07fc1f /drivers/i2c
parent[ARM] Fix circular include dependency with IRQ headers (diff)
downloadlinux-0f8469a54f7bd65f2c740a5480c56260dc8a7ae0.tar.xz
linux-0f8469a54f7bd65f2c740a5480c56260dc8a7ae0.zip
[ARM] Eliminate useless includes of asm/mach-types.h
There are 43 includes of asm/mach-types.h by files that don't reference anything from that file. Remove these unnecessary includes. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-davinci.c1
-rw-r--r--drivers/i2c/chips/menelaus.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c
index af3846eda985..4f427a51243b 100644
--- a/drivers/i2c/busses/i2c-davinci.c
+++ b/drivers/i2c/busses/i2c-davinci.c
@@ -37,7 +37,6 @@
#include <linux/io.h>
#include <asm/hardware.h>
-#include <asm/mach-types.h>
#include <asm/arch/i2c.h>
diff --git a/drivers/i2c/chips/menelaus.c b/drivers/i2c/chips/menelaus.c
index b36db1797c11..e3c12e365c49 100644
--- a/drivers/i2c/chips/menelaus.c
+++ b/drivers/i2c/chips/menelaus.c
@@ -41,7 +41,6 @@
#include <linux/rtc.h>
#include <linux/bcd.h>
-#include <asm/mach-types.h>
#include <asm/mach/irq.h>
#include <asm/arch/gpio.h>