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>
This commit is contained in:
Mike Frysinger 2010-03-16 14:28:44 +00:00
parent 9e75894c50
commit 67d9963bd7
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {