diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-01-29 10:00:23 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-03-13 05:34:17 -0400 |
commit | 87bbb19721fbd6b5e556105c188da80d06f738b1 (patch) | |
tree | 7219f7a28f25aafecf9eb60953ad93bef16e5c41 /arch | |
parent | 2420563227897ed3900606e720f886e122944d2c (diff) |
[ARM] mxc: add missing include
include devices.h from devices.c to avoid inconsistencies and to fix
sparse warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx1/devices.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/devices.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx1/devices.c b/arch/arm/mach-mx1/devices.c index cea8f2c71192..97f42d96d7a1 100644 --- a/arch/arm/mach-mx1/devices.c +++ b/arch/arm/mach-mx1/devices.c | |||
@@ -26,6 +26,8 @@ | |||
26 | #include <mach/irqs.h> | 26 | #include <mach/irqs.h> |
27 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
28 | 28 | ||
29 | #include "devices.h" | ||
30 | |||
29 | static struct resource imx_csi_resources[] = { | 31 | static struct resource imx_csi_resources[] = { |
30 | [0] = { | 32 | [0] = { |
31 | .start = 0x00224000, | 33 | .start = 0x00224000, |
diff --git a/arch/arm/mach-mx3/devices.c b/arch/arm/mach-mx3/devices.c index c48a341bccf5..7cfdef0aad45 100644 --- a/arch/arm/mach-mx3/devices.c +++ b/arch/arm/mach-mx3/devices.c | |||
@@ -25,6 +25,8 @@ | |||
25 | #include <mach/irqs.h> | 25 | #include <mach/irqs.h> |
26 | #include <mach/imx-uart.h> | 26 | #include <mach/imx-uart.h> |
27 | 27 | ||
28 | #include "devices.h" | ||
29 | |||
28 | static struct resource uart0[] = { | 30 | static struct resource uart0[] = { |
29 | { | 31 | { |
30 | .start = UART1_BASE_ADDR, | 32 | .start = UART1_BASE_ADDR, |