summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-07-18 20:31:38 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-07-18 20:31:51 +0800
commit88618eb5f12c27be7bb4400eb13768e4c2822ae7 (patch)
tree4d8c3ceffada647a63162229459ba0e2aa0e48fb /commands
parentd5b96bdca994ab00de350fe698a7daa09292ab29 (diff)
downloadbarebox-88618eb5f12c27be7bb4400eb13768e4c2822ae7.tar.gz
barebox-88618eb5f12c27be7bb4400eb13768e4c2822ae7.tar.xz
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 <plagnioj@jcrosoft.com>
Diffstat (limited to 'commands')
-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 = {