summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-03-16 14:28:44 +0000
committerMike Frysinger <vapier@gentoo.org>2010-10-22 03:48:46 -0400
commit67d9963bd79b8f861387982ac5c0ff796f12be61 (patch)
treeeca6029b10ec8ce85b1f61ee913a1dc6cdf27498 /arch/blackfin
parent9e75894c50d126bf3c8efb0efc91d5a93d6163dd (diff)
downloadlinux-stable-67d9963bd79b8f861387982ac5c0ff796f12be61.tar.gz
linux-stable-67d9963bd79b8f861387982ac5c0ff796f12be61.tar.bz2
linux-stable-67d9963bd79b8f861387982ac5c0ff796f12be61.zip
Blackfin: bf537-stamp: fix NAND resources
The NAND platform driver expects the registers to have a "mem" resource type rather than "io". Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index 9c83b52ff6bc..62c480e35276 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -418,7 +418,7 @@ static struct platform_nand_data bfin_plat_nand_data = {
static struct resource bfin_plat_nand_resources = {
.start = 0x20212000,
.end = 0x20212000 + (1 << MAX(BFIN_NAND_PLAT_CLE, BFIN_NAND_PLAT_ALE)),
- .flags = IORESOURCE_IO,
+ .flags = IORESOURCE_MEM,
};
static struct platform_device bfin_async_nand_device = {