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/board-cpuimx51sd.c | |
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/board-cpuimx51sd.c')
-rw-r--r-- | arch/arm/mach-mx5/board-cpuimx51sd.c | 2 |
1 files changed, 0 insertions, 2 deletions
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> |