summaryrefslogtreecommitdiffstats
path: root/arch/x86/boards/x86_generic/generic_pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/boards/x86_generic/generic_pc.c')
-rw-r--r--arch/x86/boards/x86_generic/generic_pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boards/x86_generic/generic_pc.c b/arch/x86/boards/x86_generic/generic_pc.c
index bfa94b9453..efd081d436 100644
--- a/arch/x86/boards/x86_generic/generic_pc.c
+++ b/arch/x86/boards/x86_generic/generic_pc.c
@@ -32,7 +32,7 @@
static struct memory_platform_data ram_pdata = {
.name = "ram0",
- .flags = DEVFS_RDWR,
+ .flags = IORESOURCE_MEM_WRITEABLE,
};
static struct device_d sdram_dev = {