diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-04-04 10:23:20 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-05-19 07:11:08 -0400 |
commit | f4bf03d8b7fbd3e2d38d895a89c53df039976fd0 (patch) | |
tree | c0a4981c836c61dbd76636b1706323c6bb73abcb /arch/arm/mach-mx3 | |
parent | 5309498a56842d0acb723196b7bc57bfb9aee918 (diff) |
ARM: imx: remove #includes already available from devices-common.h
Most machine files include "devices-imxXX.h" which in turn includes
<mach/devices-common.h>. The latter already includes many headers
that the machine files don't need to include again.
These were found by:
$ grep \#include arch/arm/plat-mxc/include/mach/devices-common.h > tmpfile
$ git grep -l 'devices-imx' arch/arm | xargs grep -f tmpfile -F
(but I kept linux/init.h, linux/kernel.h and linux/platform_device.h)
LAKML-Reference: 1298912674-15153-2-git-send-email-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3')
-rw-r--r-- | arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-bug.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-cpuimx35.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-mx31_3ds.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-mx31moboard.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-pcm037_eet.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-pcm043.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-vpr200.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mx31moboard-marxbot.c | 1 |
9 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c b/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c index 63981ca8fc31..f61b2a923826 100644 --- a/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c +++ b/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c | |||
@@ -37,12 +37,10 @@ | |||
37 | 37 | ||
38 | #include <mach/hardware.h> | 38 | #include <mach/hardware.h> |
39 | #include <mach/common.h> | 39 | #include <mach/common.h> |
40 | #include <mach/imx-uart.h> | ||
41 | #include <mach/iomux-mx35.h> | 40 | #include <mach/iomux-mx35.h> |
42 | #include <mach/ipu.h> | 41 | #include <mach/ipu.h> |
43 | #include <mach/mx3fb.h> | 42 | #include <mach/mx3fb.h> |
44 | #include <mach/audmux.h> | 43 | #include <mach/audmux.h> |
45 | #include <mach/esdhc.h> | ||
46 | 44 | ||
47 | #include "devices-imx35.h" | 45 | #include "devices-imx35.h" |
48 | #include "devices.h" | 46 | #include "devices.h" |
diff --git a/arch/arm/mach-mx3/mach-bug.c b/arch/arm/mach-mx3/mach-bug.c index d137d7078ee9..42e4f078a19c 100644 --- a/arch/arm/mach-mx3/mach-bug.c +++ b/arch/arm/mach-mx3/mach-bug.c | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <linux/platform_device.h> | 20 | #include <linux/platform_device.h> |
21 | 21 | ||
22 | #include <mach/iomux-mx3.h> | 22 | #include <mach/iomux-mx3.h> |
23 | #include <mach/imx-uart.h> | ||
24 | #include <mach/hardware.h> | 23 | #include <mach/hardware.h> |
25 | #include <mach/common.h> | 24 | #include <mach/common.h> |
26 | 25 | ||
diff --git a/arch/arm/mach-mx3/mach-cpuimx35.c b/arch/arm/mach-mx3/mach-cpuimx35.c index ec63d998f647..ae13fd73a810 100644 --- a/arch/arm/mach-mx3/mach-cpuimx35.c +++ b/arch/arm/mach-mx3/mach-cpuimx35.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include <mach/hardware.h> | 41 | #include <mach/hardware.h> |
42 | #include <mach/common.h> | 42 | #include <mach/common.h> |
43 | #include <mach/iomux-mx35.h> | 43 | #include <mach/iomux-mx35.h> |
44 | #include <mach/mxc_nand.h> | ||
45 | 44 | ||
46 | #include "devices-imx35.h" | 45 | #include "devices-imx35.h" |
47 | #include "devices.h" | 46 | #include "devices.h" |
diff --git a/arch/arm/mach-mx3/mach-mx31_3ds.c b/arch/arm/mach-mx3/mach-mx31_3ds.c index 034be624d35c..477b2d274396 100644 --- a/arch/arm/mach-mx3/mach-mx31_3ds.c +++ b/arch/arm/mach-mx3/mach-mx31_3ds.c | |||
@@ -39,7 +39,6 @@ | |||
39 | #include <mach/iomux-mx3.h> | 39 | #include <mach/iomux-mx3.h> |
40 | #include <mach/3ds_debugboard.h> | 40 | #include <mach/3ds_debugboard.h> |
41 | #include <mach/ulpi.h> | 41 | #include <mach/ulpi.h> |
42 | #include <mach/mmc.h> | ||
43 | #include <mach/ipu.h> | 42 | #include <mach/ipu.h> |
44 | #include <mach/mx3fb.h> | 43 | #include <mach/mx3fb.h> |
45 | #include <mach/mx3_camera.h> | 44 | #include <mach/mx3_camera.h> |
diff --git a/arch/arm/mach-mx3/mach-mx31moboard.c b/arch/arm/mach-mx3/mach-mx31moboard.c index 3a021b01161d..9c163146071d 100644 --- a/arch/arm/mach-mx3/mach-mx31moboard.c +++ b/arch/arm/mach-mx3/mach-mx31moboard.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include <mach/iomux-mx3.h> | 41 | #include <mach/iomux-mx3.h> |
42 | #include <mach/ipu.h> | 42 | #include <mach/ipu.h> |
43 | #include <mach/mx3_camera.h> | 43 | #include <mach/mx3_camera.h> |
44 | #include <mach/spi.h> | ||
45 | #include <mach/ulpi.h> | 44 | #include <mach/ulpi.h> |
46 | 45 | ||
47 | #include "devices-imx31.h" | 46 | #include "devices-imx31.h" |
diff --git a/arch/arm/mach-mx3/mach-pcm037_eet.c b/arch/arm/mach-mx3/mach-pcm037_eet.c index 3f81e357affb..20861d797841 100644 --- a/arch/arm/mach-mx3/mach-pcm037_eet.c +++ b/arch/arm/mach-mx3/mach-pcm037_eet.c | |||
@@ -13,7 +13,6 @@ | |||
13 | 13 | ||
14 | #include <mach/common.h> | 14 | #include <mach/common.h> |
15 | #include <mach/iomux-mx3.h> | 15 | #include <mach/iomux-mx3.h> |
16 | #include <mach/spi.h> | ||
17 | 16 | ||
18 | #include <asm/mach-types.h> | 17 | #include <asm/mach-types.h> |
19 | 18 | ||
diff --git a/arch/arm/mach-mx3/mach-pcm043.c b/arch/arm/mach-mx3/mach-pcm043.c index 036ba1a4704b..9caf38be3928 100644 --- a/arch/arm/mach-mx3/mach-pcm043.c +++ b/arch/arm/mach-mx3/mach-pcm043.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include <mach/mx3fb.h> | 40 | #include <mach/mx3fb.h> |
41 | #include <mach/ulpi.h> | 41 | #include <mach/ulpi.h> |
42 | #include <mach/audmux.h> | 42 | #include <mach/audmux.h> |
43 | #include <mach/esdhc.h> | ||
44 | 43 | ||
45 | #include "devices-imx35.h" | 44 | #include "devices-imx35.h" |
46 | #include "devices.h" | 45 | #include "devices.h" |
diff --git a/arch/arm/mach-mx3/mach-vpr200.c b/arch/arm/mach-mx3/mach-vpr200.c index d7d190eacdcd..dab34c508256 100644 --- a/arch/arm/mach-mx3/mach-vpr200.c +++ b/arch/arm/mach-mx3/mach-vpr200.c | |||
@@ -38,7 +38,6 @@ | |||
38 | #include <linux/i2c.h> | 38 | #include <linux/i2c.h> |
39 | #include <linux/i2c/at24.h> | 39 | #include <linux/i2c/at24.h> |
40 | #include <linux/mfd/mc13xxx.h> | 40 | #include <linux/mfd/mc13xxx.h> |
41 | #include <linux/gpio_keys.h> | ||
42 | 41 | ||
43 | #include "devices-imx35.h" | 42 | #include "devices-imx35.h" |
44 | #include "devices.h" | 43 | #include "devices.h" |
diff --git a/arch/arm/mach-mx3/mx31moboard-marxbot.c b/arch/arm/mach-mx3/mx31moboard-marxbot.c index 57f7b00cb709..f3aa0ce497b2 100644 --- a/arch/arm/mach-mx3/mx31moboard-marxbot.c +++ b/arch/arm/mach-mx3/mx31moboard-marxbot.c | |||
@@ -26,7 +26,6 @@ | |||
26 | 26 | ||
27 | #include <mach/common.h> | 27 | #include <mach/common.h> |
28 | #include <mach/hardware.h> | 28 | #include <mach/hardware.h> |
29 | #include <mach/imx-uart.h> | ||
30 | #include <mach/iomux-mx3.h> | 29 | #include <mach/iomux-mx3.h> |
31 | #include <mach/ulpi.h> | 30 | #include <mach/ulpi.h> |
32 | 31 | ||