提交 377304ab 编写于 作者: M Michael Spang 提交者: Nicolas Pitre

[ARM] TS-78xxx NAND resource type should be IORESOURCE_MEM

The type was IORESOURCE_IO which is not what is expected by
plat_nand_probe(). This device has not worked since 2d098a72
("mtd: plat_nand: request memory resource before doing ioremap").
Signed-off-by: NMichael Spang <mspang@csclub.uwaterloo.ca>
Signed-off-by: NNicolas Pitre <nico@fluxnic.net>
上级 3924996b
...@@ -239,7 +239,7 @@ static struct platform_nand_data ts78xx_ts_nand_data = { ...@@ -239,7 +239,7 @@ static struct platform_nand_data ts78xx_ts_nand_data = {
static struct resource ts78xx_ts_nand_resources = { static struct resource ts78xx_ts_nand_resources = {
.start = TS_NAND_DATA, .start = TS_NAND_DATA,
.end = TS_NAND_DATA + 4, .end = TS_NAND_DATA + 4,
.flags = IORESOURCE_IO, .flags = IORESOURCE_MEM,
}; };
static struct platform_device ts78xx_ts_nand_device = { static struct platform_device ts78xx_ts_nand_device = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册