diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-04-04 16:23:20 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-05-19 13:11:08 +0200 |
commit | f4bf03d8b7fbd3e2d38d895a89c53df039976fd0 (patch) | |
tree | c0a4981c836c61dbd76636b1706323c6bb73abcb /arch/arm/mach-imx/mach-mx1ads.c | |
parent | ARM: imx: use imx_add_gpio_keys to register "gpio-keys" devices (diff) | |
download | linux-f4bf03d8b7fbd3e2d38d895a89c53df039976fd0.tar.xz linux-f4bf03d8b7fbd3e2d38d895a89c53df039976fd0.zip |
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-imx/mach-mx1ads.c')
-rw-r--r-- | arch/arm/mach-imx/mach-mx1ads.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-mx1ads.c b/arch/arm/mach-imx/mach-mx1ads.c index 47cf56ac6d5b..38ec5cbbda9b 100644 --- a/arch/arm/mach-imx/mach-mx1ads.c +++ b/arch/arm/mach-imx/mach-mx1ads.c @@ -25,7 +25,6 @@ #include <mach/common.h> #include <mach/hardware.h> -#include <mach/i2c.h> #include <mach/iomux-mx1.h> #include <mach/irqs.h> |