Skip to content

Commit

Permalink
[ARM] TS-78xxx NAND resource type should be IORESOURCE_MEM
Browse files Browse the repository at this point in the history
The type was IORESOURCE_IO which is not what is expected by
plat_nand_probe(). This device has not worked since 2d098a7
("mtd: plat_nand: request memory resource before doing ioremap").

Signed-off-by: Michael Spang <mspang@csclub.uwaterloo.ca>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
  • Loading branch information
Michael Spang authored and Nicolas Pitre committed Nov 5, 2010
1 parent 3924996 commit 377304a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-orion5x/ts78xx-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 377304a

Please sign in to comment.