summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-01-29 16:00:23 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-03-13 10:34:17 +0100
commit87bbb19721fbd6b5e556105c188da80d06f738b1 (patch)
tree7219f7a28f25aafecf9eb60953ad93bef16e5c41 /arch
parent2420563227897ed3900606e720f886e122944d2c (diff)
downloadop-kernel-dev-87bbb19721fbd6b5e556105c188da80d06f738b1.zip
op-kernel-dev-87bbb19721fbd6b5e556105c188da80d06f738b1.tar.gz
[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.c2
-rw-r--r--arch/arm/mach-mx3/devices.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx1/devices.c b/arch/arm/mach-mx1/devices.c
index cea8f2c..97f42d9 100644
--- a/arch/arm/mach-mx1/devices.c
+++ b/arch/arm/mach-mx1/devices.c
@@ -26,6 +26,8 @@
#include <mach/irqs.h>
#include <mach/hardware.h>
+#include "devices.h"
+
static struct resource imx_csi_resources[] = {
[0] = {
.start = 0x00224000,
diff --git a/arch/arm/mach-mx3/devices.c b/arch/arm/mach-mx3/devices.c
index c48a341..7cfdef0 100644
--- a/arch/arm/mach-mx3/devices.c
+++ b/arch/arm/mach-mx3/devices.c
@@ -25,6 +25,8 @@
#include <mach/irqs.h>
#include <mach/imx-uart.h>
+#include "devices.h"
+
static struct resource uart0[] = {
{
.start = UART1_BASE_ADDR,
OpenPOWER on IntegriCloud