MIPS: Fix gen_nand probe structures contents
[firefly-linux-kernel-4.4.55.git] / arch / mips / pnx833x / common / platform.c
index 01f8345a2069d0fcf129b98f1c08ddd97b055b1c..ce45df17fd097d949c6ed7cccac487689f0e97d0 100644 (file)
@@ -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,
        },