From: Marek Vasut Date: Thu, 12 Aug 2010 02:53:54 +0000 (+0100) Subject: MIPS: Fix gen_nand probe structures contents X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d2b5bbef2198f82280441ab1ea7f634d615d913b;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: David Woodhouse --- 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) static struct platform_nand_data pnx833x_flash_nand_data = { .chip = { + .nr_chips = 1, .chip_delay = 25, .part_probe_types = part_probes, },