diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-07-18 20:31:38 +0800 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-07-18 20:31:51 +0800 |
commit | 88618eb5f12c27be7bb4400eb13768e4c2822ae7 (patch) | |
tree | 4d8c3ceffada647a63162229459ba0e2aa0e48fb /arch/blackfin/boards/ipe337/ipe337.c | |
parent | d5b96bdca994ab00de350fe698a7daa09292ab29 (diff) | |
download | barebox-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 'arch/blackfin/boards/ipe337/ipe337.c')
-rw-r--r-- | arch/blackfin/boards/ipe337/ipe337.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/boards/ipe337/ipe337.c b/arch/blackfin/boards/ipe337/ipe337.c index 61bcd434f1..6953d08cd3 100644 --- a/arch/blackfin/boards/ipe337/ipe337.c +++ b/arch/blackfin/boards/ipe337/ipe337.c @@ -14,7 +14,7 @@ static struct device_d cfi_dev = { static struct memory_platform_data ram_pdata = { .name = "ram0", - .flags = DEVFS_RDWR, + .flags = IORESOURCE_MEM_WRITEABLE, }; static struct device_d sdram_dev = { |