summaryrefslogtreecommitdiff
path: root/arch/blackfin/mach-bf561/boards/acvilon.c
diff options
context:
space:
mode:
authorValentin Yakovenkov <yakovenkov@gmail.com>2010-03-16 13:01:50 +0000
committerMike Frysinger <vapier@gentoo.org>2010-10-22 03:48:45 -0400
commit657bb918d91d8e291f7c40e4a101c44b53fe25fa (patch)
treefcefd0e527db37cec8b2d0f87ae2296f55678db1 /arch/blackfin/mach-bf561/boards/acvilon.c
parentbf80caf4f14010f73cd4f14b49bba8fe6ae94046 (diff)
downloadlwn-657bb918d91d8e291f7c40e4a101c44b53fe25fa.tar.gz
lwn-657bb918d91d8e291f7c40e4a101c44b53fe25fa.zip
Blackfin: bf561-acvilon: fix NAND resources
The NAND platform driver expects the registers to have a "mem" resource type rather than "io". Signed-off-by: Valentin Yakovenkov <yakovenkov@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf561/boards/acvilon.c')
-rw-r--r--arch/blackfin/mach-bf561/boards/acvilon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf561/boards/acvilon.c b/arch/blackfin/mach-bf561/boards/acvilon.c
index 35b6d124c1e3..0b1c20f14fe0 100644
--- a/arch/blackfin/mach-bf561/boards/acvilon.c
+++ b/arch/blackfin/mach-bf561/boards/acvilon.c
@@ -302,7 +302,7 @@ static struct platform_nand_data bfin_plat_nand_data = {
static struct resource bfin_plat_nand_resources = {
.start = 0x24000000,
.end = 0x24000000 + (1 << MAX(BFIN_NAND_PLAT_CLE, BFIN_NAND_PLAT_ALE)),
- .flags = IORESOURCE_IO,
+ .flags = IORESOURCE_MEM,
};
static struct platform_device bfin_async_nand_device = {