summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichael Spang <mspang@csclub.uwaterloo.ca>2010-11-05 13:14:40 -0400
committerNicolas Pitre <nico@fluxnic.net>2010-11-05 13:32:08 -0400
commit377304abefa208890dce5739e4f297c93240efb2 (patch)
tree4f8a66681131b8f7744fb77f6cc1db5f0d25a2f4 /arch
parent3924996bab2845bdf9a9d16ff7c20445de1ab55d (diff)
downloadblackbird-op-linux-377304abefa208890dce5739e4f297c93240efb2.tar.gz
blackbird-op-linux-377304abefa208890dce5739e4f297c93240efb2.zip
[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 <mspang@csclub.uwaterloo.ca> Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-orion5x/ts78xx-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-orion5x/ts78xx-setup.c b/arch/arm/mach-orion5x/ts78xx-setup.c
index 696b1a97f9e2..9a5d1ef1bd1f 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 = {
OpenPOWER on IntegriCloud