summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/phycard-i.MX27/pca100.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boards/phycard-i.MX27/pca100.c')
-rw-r--r--arch/arm/boards/phycard-i.MX27/pca100.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/boards/phycard-i.MX27/pca100.c b/arch/arm/boards/phycard-i.MX27/pca100.c
index ce59960e22..7328a6c894 100644
--- a/arch/arm/boards/phycard-i.MX27/pca100.c
+++ b/arch/arm/boards/phycard-i.MX27/pca100.c
@@ -26,7 +26,7 @@
#include <fec.h>
#include <mach/gpio.h>
#include <asm/armlinux.h>
-#include <asm/mach-types.h>
+#include <generated/mach-types.h>
#include <partition.h>
#include <fs.h>
#include <fcntl.h>
@@ -46,6 +46,7 @@ static struct memory_platform_data ram_pdata = {
};
static struct device_d sdram_dev = {
+ .id = -1,
.name = "mem",
.map_base = 0xa0000000,
.size = 128 * 1024 * 1024,
@@ -58,6 +59,7 @@ static struct fec_platform_data fec_info = {
};
static struct device_d fec_dev = {
+ .id = -1,
.name = "fec_imx",
.map_base = 0x1002b000,
.platform_data = &fec_info,
@@ -69,6 +71,7 @@ struct imx_nand_platform_data nand_info = {
};
static struct device_d nand_dev = {
+ .id = -1,
.name = "imx_nand",
.map_base = 0xd8000000,
.platform_data = &nand_info,
@@ -76,6 +79,7 @@ static struct device_d nand_dev = {
#ifdef CONFIG_USB
static struct device_d usbh2_dev = {
+ .id = -1,
.name = "ehci",
.map_base = IMX_OTG_BASE + 0x400,
.size = 0x200,
@@ -216,6 +220,7 @@ static int pca100_devices_init(void)
device_initcall(pca100_devices_init);
static struct device_d pca100_serial_device = {
+ .id = -1,
.name = "imx_serial",
.map_base = IMX_UART1_BASE,
.size = 4096,