mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 00:52:01 +00:00
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>
This commit is contained in:
parent
bf80caf4f1
commit
657bb918d9
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user