From: Michael Spang Date: Fri, 5 Nov 2010 17:14:40 +0000 (-0400) Subject: [ARM] TS-78xxx NAND resource type should be IORESOURCE_MEM X-Git-Tag: 2.1b_release~6274^2~9^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=377304abefa208890dce5739e4f297c93240efb2;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git [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: Michael Spang Signed-off-by: Nicolas Pitre --- diff --git a/arch/arm/mach-orion5x/ts78xx-setup.c b/arch/arm/mach-orion5x/ts78xx-setup.c index 696b1a9..9a5d1ef 100644 --- a/arch/arm/mach-orion5x/ts78xx-setup.c +++ b/arch/arm/mach-orion5x/ts78xx-setup.c @@ -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 = {