From 88618eb5f12c27be7bb4400eb13768e4c2822ae7 Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Mon, 18 Jul 2011 20:31:38 +0800 Subject: mem: replace DEVFS_RDWR by IORESOURCE_MEM_WRITEABLE we keep struct memory_platform_data for now on we will switch off the memories resources to struct resource Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/mach-at91/at91sam9260_devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/mach-at91/at91sam9260_devices.c') diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c index 85f7578cf4..a149ede8a9 100644 --- a/arch/arm/mach-at91/at91sam9260_devices.c +++ b/arch/arm/mach-at91/at91sam9260_devices.c @@ -29,7 +29,7 @@ static struct resource sdram_dev_resources[] = { static struct memory_platform_data sram_pdata = { .name = "sram0", - .flags = DEVFS_RDWR, + .flags = IORESOURCE_MEM_WRITEABLE, }; static struct device_d sdram_dev = { -- cgit v1.2.3