Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 377304ab authored by Michael Spang's avatar Michael Spang Committed by Nicolas Pitre
Browse files

[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: default avatarMichael Spang <mspang@csclub.uwaterloo.ca>
Signed-off-by: default avatarNicolas Pitre <nico@fluxnic.net>
parent 3924996b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@ static struct platform_nand_data ts78xx_ts_nand_data = {
static struct resource ts78xx_ts_nand_resources = {
	.start		= TS_NAND_DATA,
	.end		= TS_NAND_DATA + 4,
	.flags		= IORESOURCE_IO,
	.flags		= IORESOURCE_MEM,
};

static struct platform_device ts78xx_ts_nand_device = {