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>

authored by Marek Vasut and committed by David Woodhouse d2b5bbef 01cd2aba

+1
+1
arch/mips/pnx833x/common/platform.c
··· 266 267 static struct platform_nand_data pnx833x_flash_nand_data = { 268 .chip = { 269 .chip_delay = 25, 270 .part_probe_types = part_probes, 271 },
··· 266 267 static struct platform_nand_data pnx833x_flash_nand_data = { 268 .chip = { 269 + .nr_chips = 1, 270 .chip_delay = 25, 271 .part_probe_types = part_probes, 272 },