[PATCH 05/15] mini2440: Fix a runtime warning when '.id=0' is used
Juergen Beisert
jbe at pengutronix.de
Sun Feb 13 09:10:42 EST 2011
From: Juergen Beisert <juergen at kreuzholzen.de>
---
arch/arm/boards/mini2440/mini2440.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boards/mini2440/mini2440.c b/arch/arm/boards/mini2440/mini2440.c
index a3bb817..e22fbd0 100644
--- a/arch/arm/boards/mini2440/mini2440.c
+++ b/arch/arm/boards/mini2440/mini2440.c
@@ -45,6 +45,7 @@ static struct memory_platform_data ram_pdata = {
};
static struct device_d sdram_dev = {
+ .id = -1,
.name = "mem",
.map_base = CS6_BASE,
.size = 64 * 1024 * 1024,
--
1.7.2.3
More information about the barebox
mailing list