summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/freescale-mx35-3-stack/3stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boards/freescale-mx35-3-stack/3stack.c')
-rw-r--r--arch/arm/boards/freescale-mx35-3-stack/3stack.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/boards/freescale-mx35-3-stack/3stack.c b/arch/arm/boards/freescale-mx35-3-stack/3stack.c
index 9a66976f9d..71aaa92970 100644
--- a/arch/arm/boards/freescale-mx35-3-stack/3stack.c
+++ b/arch/arm/boards/freescale-mx35-3-stack/3stack.c
@@ -38,7 +38,7 @@
#include <asm/armlinux.h>
#include <asm/io.h>
-#include <asm/mach-types.h>
+#include <generated/mach-types.h>
#include <mach/gpio.h>
#include <mach/imx-nand.h>
@@ -59,6 +59,7 @@
#define MX35PDK_BOARD_REV_2 1
static struct device_d cfi_dev = {
+ .id = -1,
.name = "cfi_flash",
.map_base = IMX_CS0_BASE,
.size = 64 * 1024 * 1024,
@@ -70,6 +71,7 @@ static struct fec_platform_data fec_info = {
};
static struct device_d fec_dev = {
+ .id = -1,
.name = "fec_imx",
.map_base = IMX_FEC_BASE,
.platform_data = &fec_info,
@@ -81,6 +83,7 @@ static struct memory_platform_data sdram_pdata = {
};
static struct device_d sdram_dev = {
+ .id = -1,
.name = "mem",
.map_base = IMX_SDRAM_CS0,
.size = 128 * 1024 * 1024,
@@ -93,12 +96,14 @@ struct imx_nand_platform_data nand_info = {
};
static struct device_d nand_dev = {
+ .id = -1,
.name = "imx_nand",
.map_base = IMX_NFC_BASE,
.platform_data = &nand_info,
};
static struct device_d smc911x_dev = {
+ .id = -1,
.name = "smc911x",
.map_base = IMX_CS5_BASE,
.size = IMX_CS5_RANGE,
@@ -113,6 +118,7 @@ static struct i2c_board_info i2c_devices[] = {
};
static struct device_d i2c_dev = {
+ .id = -1,
.name = "i2c-imx",
.map_base = IMX_I2C1_BASE,
};
@@ -144,6 +150,7 @@ static struct imx_ipu_fb_platform_data ipu_fb_data = {
};
static struct device_d imxfb_dev = {
+ .id = -1,
.name = "imx-ipu-fb",
.map_base = 0x53fc0000,
.size = 0x1000,
@@ -244,6 +251,7 @@ static int f3s_enable_display(void)
late_initcall(f3s_enable_display);
static struct device_d f3s_serial_device = {
+ .id = -1,
.name = "imx_serial",
.map_base = IMX_UART1_BASE,
.size = 4096,