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-mx5 | |
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-mx5')
-rw-r--r-- | arch/arm/mach-mx5/board-cpuimx51.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-cpuimx51sd.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx50_rdp.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx51_babbage.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx51_efikamx.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx51_efikasb.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx53_evk.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx53_loco.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx53_smd.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx5/mx51_efika.c | 3 |
12 files changed, 0 insertions, 27 deletions
diff --git a/arch/arm/mach-mx5/board-cpuimx51.c b/arch/arm/mach-mx5/board-cpuimx51.c index d0296a94c475..4efa02ee1639 100644 --- a/arch/arm/mach-mx5/board-cpuimx51.c +++ b/arch/arm/mach-mx5/board-cpuimx51.c | |||
@@ -23,13 +23,11 @@ | |||
23 | #include <linux/io.h> | 23 | #include <linux/io.h> |
24 | #include <linux/interrupt.h> | 24 | #include <linux/interrupt.h> |
25 | #include <linux/irq.h> | 25 | #include <linux/irq.h> |
26 | #include <linux/fsl_devices.h> | ||
27 | 26 | ||
28 | #include <mach/eukrea-baseboards.h> | 27 | #include <mach/eukrea-baseboards.h> |
29 | #include <mach/common.h> | 28 | #include <mach/common.h> |
30 | #include <mach/hardware.h> | 29 | #include <mach/hardware.h> |
31 | #include <mach/iomux-mx51.h> | 30 | #include <mach/iomux-mx51.h> |
32 | #include <mach/mxc_ehci.h> | ||
33 | 31 | ||
34 | #include <asm/irq.h> | 32 | #include <asm/irq.h> |
35 | #include <asm/setup.h> | 33 | #include <asm/setup.h> |
diff --git a/arch/arm/mach-mx5/board-cpuimx51sd.c b/arch/arm/mach-mx5/board-cpuimx51sd.c index 29b180823bf5..5ef25a596143 100644 --- a/arch/arm/mach-mx5/board-cpuimx51sd.c +++ b/arch/arm/mach-mx5/board-cpuimx51sd.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <linux/io.h> | 23 | #include <linux/io.h> |
24 | #include <linux/interrupt.h> | 24 | #include <linux/interrupt.h> |
25 | #include <linux/irq.h> | 25 | #include <linux/irq.h> |
26 | #include <linux/fsl_devices.h> | ||
27 | #include <linux/i2c-gpio.h> | 26 | #include <linux/i2c-gpio.h> |
28 | #include <linux/spi/spi.h> | 27 | #include <linux/spi/spi.h> |
29 | #include <linux/can/platform/mcp251x.h> | 28 | #include <linux/can/platform/mcp251x.h> |
@@ -32,7 +31,6 @@ | |||
32 | #include <mach/common.h> | 31 | #include <mach/common.h> |
33 | #include <mach/hardware.h> | 32 | #include <mach/hardware.h> |
34 | #include <mach/iomux-mx51.h> | 33 | #include <mach/iomux-mx51.h> |
35 | #include <mach/mxc_ehci.h> | ||
36 | 34 | ||
37 | #include <asm/irq.h> | 35 | #include <asm/irq.h> |
38 | #include <asm/setup.h> | 36 | #include <asm/setup.h> |
diff --git a/arch/arm/mach-mx5/board-mx50_rdp.c b/arch/arm/mach-mx5/board-mx50_rdp.c index dedf7f2d6d0f..11210e1ae42a 100644 --- a/arch/arm/mach-mx5/board-mx50_rdp.c +++ b/arch/arm/mach-mx5/board-mx50_rdp.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <linux/gpio.h> | 23 | #include <linux/gpio.h> |
24 | #include <linux/delay.h> | 24 | #include <linux/delay.h> |
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
26 | #include <linux/fsl_devices.h> | ||
27 | 26 | ||
28 | #include <mach/common.h> | 27 | #include <mach/common.h> |
29 | #include <mach/hardware.h> | 28 | #include <mach/hardware.h> |
diff --git a/arch/arm/mach-mx5/board-mx51_babbage.c b/arch/arm/mach-mx5/board-mx51_babbage.c index ab50aa9d268c..cba59f16b205 100644 --- a/arch/arm/mach-mx5/board-mx51_babbage.c +++ b/arch/arm/mach-mx5/board-mx51_babbage.c | |||
@@ -16,9 +16,6 @@ | |||
16 | #include <linux/gpio.h> | 16 | #include <linux/gpio.h> |
17 | #include <linux/delay.h> | 17 | #include <linux/delay.h> |
18 | #include <linux/io.h> | 18 | #include <linux/io.h> |
19 | #include <linux/fsl_devices.h> | ||
20 | #include <linux/fec.h> | ||
21 | #include <linux/gpio_keys.h> | ||
22 | #include <linux/input.h> | 19 | #include <linux/input.h> |
23 | #include <linux/spi/flash.h> | 20 | #include <linux/spi/flash.h> |
24 | #include <linux/spi/spi.h> | 21 | #include <linux/spi/spi.h> |
@@ -26,7 +23,6 @@ | |||
26 | #include <mach/common.h> | 23 | #include <mach/common.h> |
27 | #include <mach/hardware.h> | 24 | #include <mach/hardware.h> |
28 | #include <mach/iomux-mx51.h> | 25 | #include <mach/iomux-mx51.h> |
29 | #include <mach/mxc_ehci.h> | ||
30 | 26 | ||
31 | #include <asm/irq.h> | 27 | #include <asm/irq.h> |
32 | #include <asm/setup.h> | 28 | #include <asm/setup.h> |
diff --git a/arch/arm/mach-mx5/board-mx51_efikamx.c b/arch/arm/mach-mx5/board-mx51_efikamx.c index acab1911cb3c..c7c94596887e 100644 --- a/arch/arm/mach-mx5/board-mx51_efikamx.c +++ b/arch/arm/mach-mx5/board-mx51_efikamx.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/input.h> | 22 | #include <linux/input.h> |
23 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
24 | #include <linux/io.h> | 24 | #include <linux/io.h> |
25 | #include <linux/fsl_devices.h> | ||
26 | #include <linux/spi/flash.h> | 25 | #include <linux/spi/flash.h> |
27 | #include <linux/spi/spi.h> | 26 | #include <linux/spi/spi.h> |
28 | #include <linux/mfd/mc13892.h> | 27 | #include <linux/mfd/mc13892.h> |
@@ -32,8 +31,6 @@ | |||
32 | #include <mach/common.h> | 31 | #include <mach/common.h> |
33 | #include <mach/hardware.h> | 32 | #include <mach/hardware.h> |
34 | #include <mach/iomux-mx51.h> | 33 | #include <mach/iomux-mx51.h> |
35 | #include <mach/i2c.h> | ||
36 | #include <mach/mxc_ehci.h> | ||
37 | 34 | ||
38 | #include <asm/irq.h> | 35 | #include <asm/irq.h> |
39 | #include <asm/setup.h> | 36 | #include <asm/setup.h> |
diff --git a/arch/arm/mach-mx5/board-mx51_efikasb.c b/arch/arm/mach-mx5/board-mx51_efikasb.c index db04ce8462dc..57b4d6bc6bf8 100644 --- a/arch/arm/mach-mx5/board-mx51_efikasb.c +++ b/arch/arm/mach-mx5/board-mx51_efikasb.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/input.h> | 22 | #include <linux/input.h> |
23 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
24 | #include <linux/io.h> | 24 | #include <linux/io.h> |
25 | #include <linux/fsl_devices.h> | ||
26 | #include <linux/spi/flash.h> | 25 | #include <linux/spi/flash.h> |
27 | #include <linux/spi/spi.h> | 26 | #include <linux/spi/spi.h> |
28 | #include <linux/mfd/mc13892.h> | 27 | #include <linux/mfd/mc13892.h> |
@@ -35,8 +34,6 @@ | |||
35 | #include <mach/common.h> | 34 | #include <mach/common.h> |
36 | #include <mach/hardware.h> | 35 | #include <mach/hardware.h> |
37 | #include <mach/iomux-mx51.h> | 36 | #include <mach/iomux-mx51.h> |
38 | #include <mach/i2c.h> | ||
39 | #include <mach/mxc_ehci.h> | ||
40 | 37 | ||
41 | #include <asm/irq.h> | 38 | #include <asm/irq.h> |
42 | #include <asm/setup.h> | 39 | #include <asm/setup.h> |
diff --git a/arch/arm/mach-mx5/board-mx53_evk.c b/arch/arm/mach-mx5/board-mx53_evk.c index 2af3f43f74db..f87d571882c6 100644 --- a/arch/arm/mach-mx5/board-mx53_evk.c +++ b/arch/arm/mach-mx5/board-mx53_evk.c | |||
@@ -21,7 +21,6 @@ | |||
21 | 21 | ||
22 | #include <linux/init.h> | 22 | #include <linux/init.h> |
23 | #include <linux/clk.h> | 23 | #include <linux/clk.h> |
24 | #include <linux/fec.h> | ||
25 | #include <linux/delay.h> | 24 | #include <linux/delay.h> |
26 | #include <linux/gpio.h> | 25 | #include <linux/gpio.h> |
27 | #include <linux/spi/flash.h> | 26 | #include <linux/spi/flash.h> |
@@ -31,7 +30,6 @@ | |||
31 | #include <asm/mach-types.h> | 30 | #include <asm/mach-types.h> |
32 | #include <asm/mach/arch.h> | 31 | #include <asm/mach/arch.h> |
33 | #include <asm/mach/time.h> | 32 | #include <asm/mach/time.h> |
34 | #include <mach/imx-uart.h> | ||
35 | #include <mach/iomux-mx53.h> | 33 | #include <mach/iomux-mx53.h> |
36 | 34 | ||
37 | #define MX53_EVK_FEC_PHY_RST IMX_GPIO_NR(7, 6) | 35 | #define MX53_EVK_FEC_PHY_RST IMX_GPIO_NR(7, 6) |
diff --git a/arch/arm/mach-mx5/board-mx53_loco.c b/arch/arm/mach-mx5/board-mx53_loco.c index 10a1bea10548..4487779d29c8 100644 --- a/arch/arm/mach-mx5/board-mx53_loco.c +++ b/arch/arm/mach-mx5/board-mx53_loco.c | |||
@@ -20,13 +20,11 @@ | |||
20 | 20 | ||
21 | #include <linux/init.h> | 21 | #include <linux/init.h> |
22 | #include <linux/clk.h> | 22 | #include <linux/clk.h> |
23 | #include <linux/fec.h> | ||
24 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
25 | #include <linux/gpio.h> | 24 | #include <linux/gpio.h> |
26 | 25 | ||
27 | #include <mach/common.h> | 26 | #include <mach/common.h> |
28 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
29 | #include <mach/imx-uart.h> | ||
30 | #include <mach/iomux-mx53.h> | 28 | #include <mach/iomux-mx53.h> |
31 | 29 | ||
32 | #include <asm/mach-types.h> | 30 | #include <asm/mach-types.h> |
diff --git a/arch/arm/mach-mx5/board-mx53_smd.c b/arch/arm/mach-mx5/board-mx53_smd.c index 31e173267edf..f3da62ac9f13 100644 --- a/arch/arm/mach-mx5/board-mx53_smd.c +++ b/arch/arm/mach-mx5/board-mx53_smd.c | |||
@@ -20,13 +20,11 @@ | |||
20 | 20 | ||
21 | #include <linux/init.h> | 21 | #include <linux/init.h> |
22 | #include <linux/clk.h> | 22 | #include <linux/clk.h> |
23 | #include <linux/fec.h> | ||
24 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
25 | #include <linux/gpio.h> | 24 | #include <linux/gpio.h> |
26 | 25 | ||
27 | #include <mach/common.h> | 26 | #include <mach/common.h> |
28 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
29 | #include <mach/imx-uart.h> | ||
30 | #include <mach/iomux-mx53.h> | 28 | #include <mach/iomux-mx53.h> |
31 | 29 | ||
32 | #include <asm/mach-types.h> | 30 | #include <asm/mach-types.h> |
diff --git a/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c b/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c index 4a8550529b04..97292d20f1f3 100644 --- a/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c +++ b/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c | |||
@@ -18,13 +18,11 @@ | |||
18 | #include <linux/io.h> | 18 | #include <linux/io.h> |
19 | #include <linux/interrupt.h> | 19 | #include <linux/interrupt.h> |
20 | #include <linux/irq.h> | 20 | #include <linux/irq.h> |
21 | #include <linux/fsl_devices.h> | ||
22 | #include <linux/i2c/tsc2007.h> | 21 | #include <linux/i2c/tsc2007.h> |
23 | #include <linux/leds.h> | 22 | #include <linux/leds.h> |
24 | 23 | ||
25 | #include <mach/common.h> | 24 | #include <mach/common.h> |
26 | #include <mach/hardware.h> | 25 | #include <mach/hardware.h> |
27 | #include <mach/imx-uart.h> | ||
28 | #include <mach/iomux-mx51.h> | 26 | #include <mach/iomux-mx51.h> |
29 | 27 | ||
30 | #include <asm/mach/arch.h> | 28 | #include <asm/mach/arch.h> |
diff --git a/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c b/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c index 0c80b62ed786..31c871ec46a6 100644 --- a/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c +++ b/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c | |||
@@ -37,7 +37,6 @@ | |||
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-mx51.h> | 40 | #include <mach/iomux-mx51.h> |
42 | #include <mach/audmux.h> | 41 | #include <mach/audmux.h> |
43 | 42 | ||
diff --git a/arch/arm/mach-mx5/mx51_efika.c b/arch/arm/mach-mx5/mx51_efika.c index d0c7075937cf..56739c23aca7 100644 --- a/arch/arm/mach-mx5/mx51_efika.c +++ b/arch/arm/mach-mx5/mx51_efika.c | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <linux/input.h> | 20 | #include <linux/input.h> |
21 | #include <linux/delay.h> | 21 | #include <linux/delay.h> |
22 | #include <linux/io.h> | 22 | #include <linux/io.h> |
23 | #include <linux/fsl_devices.h> | ||
24 | #include <linux/spi/flash.h> | 23 | #include <linux/spi/flash.h> |
25 | #include <linux/spi/spi.h> | 24 | #include <linux/spi/spi.h> |
26 | #include <linux/mfd/mc13892.h> | 25 | #include <linux/mfd/mc13892.h> |
@@ -30,8 +29,6 @@ | |||
30 | #include <mach/common.h> | 29 | #include <mach/common.h> |
31 | #include <mach/hardware.h> | 30 | #include <mach/hardware.h> |
32 | #include <mach/iomux-mx51.h> | 31 | #include <mach/iomux-mx51.h> |
33 | #include <mach/i2c.h> | ||
34 | #include <mach/mxc_ehci.h> | ||
35 | 32 | ||
36 | #include <linux/usb/otg.h> | 33 | #include <linux/usb/otg.h> |
37 | #include <linux/usb/ulpi.h> | 34 | #include <linux/usb/ulpi.h> |