[PATCH] at91sam9261: set sdram_dev id to -1

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Mar 10 08:36:49 EST 2011


Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre at atmel.com>
Cc: Patrice Vilchez <patrice.vilchez at atmel.com>
---
Hi,

	please apply to the stable also

Best Regards,
J.
 arch/arm/mach-at91/at91sam9261_devices.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-at91/at91sam9261_devices.c b/arch/arm/mach-at91/at91sam9261_devices.c
index 45bfb23..66bf3a8 100644
--- a/arch/arm/mach-at91/at91sam9261_devices.c
+++ b/arch/arm/mach-at91/at91sam9261_devices.c
@@ -26,7 +26,7 @@ static struct memory_platform_data ram_pdata = {
 };
 
 static struct device_d sdram_dev = {
-	.id		= 0,
+	.id		= -1,
 	.name		= "mem",
 	.map_base	= AT91_CHIPSELECT_1,
 	.platform_data	= &ram_pdata,
-- 
1.7.4.1




More information about the barebox mailing list