summaryrefslogtreecommitdiffstats
path: root/commands/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/mem.c')
-rw-r--r--commands/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/mem.c b/commands/mem.c
index 8df5f0a89a..927b7cc722 100644
--- a/commands/mem.c
+++ b/commands/mem.c
@@ -612,7 +612,7 @@ static struct driver_d mem_drv = {
static struct memory_platform_data mem_dev_pdata = {
.name = "mem",
- .flags = DEVFS_RDWR,
+ .flags = IORESOURCE_MEM_WRITEABLE,
};
static struct device_d mem_dev = {