Skip to content

Commit

Permalink
MIPS: Fix gen_nand probe structures contents
Browse files Browse the repository at this point in the history
    
This platform didn't properly fill nr_chips in gen_nand
registration and therefore depended on gen_nand bug fixed by commit
81cbb0b ("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>
  • Loading branch information
Marek Vasut authored and David Woodhouse committed Aug 12, 2010
1 parent 01cd2ab commit d2b5bbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/mips/pnx833x/common/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ pnx833x_flash_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl)

static struct platform_nand_data pnx833x_flash_nand_data = {
.chip = {
.nr_chips = 1,
.chip_delay = 25,
.part_probe_types = part_probes,
},
Expand Down

0 comments on commit d2b5bbe

Please sign in to comment.