include devices.h from devices.c to avoid inconsistencies and to fix sparse warnings Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
@@ -26,6 +26,8 @@
#include <mach/irqs.h>
#include <mach/hardware.h>
+#include "devices.h"
+
static struct resource imx_csi_resources[] = {
[0] = {
.start = 0x00224000,
@@ -25,6 +25,8 @@
#include <mach/imx-uart.h>
static struct resource uart0[] = {
{
.start = UART1_BASE_ADDR,