diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2010-08-11 22:53:54 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-08-12 07:22:49 -0400 |
commit | d2b5bbef2198f82280441ab1ea7f634d615d913b (patch) | |
tree | 0219a9cb3fc5e6f8ac9da256622972f19651ce9b /arch | |
parent | 01cd2ababddd55a127caa1cd20d570637e0d42e1 (diff) |
MIPS: Fix gen_nand probe structures contents
This platform didn't properly fill nr_chips in gen_nand
registration and therefore depended on gen_nand bug fixed by commit
81cbb0b17796d81cbd92defe113cf2a7c7a21fbb ("mtd: gen_nand: fix support for
multiple chips")
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/pnx833x/common/platform.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/pnx833x/common/platform.c b/arch/mips/pnx833x/common/platform.c index 01f8345a2069..ce45df17fd09 100644 --- a/arch/mips/pnx833x/common/platform.c +++ b/arch/mips/pnx833x/common/platform.c | |||
@@ -266,6 +266,7 @@ pnx833x_flash_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) | |||
266 | 266 | ||
267 | static struct platform_nand_data pnx833x_flash_nand_data = { | 267 | static struct platform_nand_data pnx833x_flash_nand_data = { |
268 | .chip = { | 268 | .chip = { |
269 | .nr_chips = 1, | ||
269 | .chip_delay = 25, | 270 | .chip_delay = 25, |
270 | .part_probe_types = part_probes, | 271 | .part_probe_types = part_probes, |
271 | }, | 272 | }, |