diff options
Diffstat (limited to 'drivers/mtd/nand/pxa3xx_nand.c')
-rw-r--r-- | drivers/mtd/nand/pxa3xx_nand.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index 5c3d719c37e6..d3bdc909c939 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b/drivers/mtd/nand/pxa3xx_nand.c | |||
@@ -1228,8 +1228,9 @@ static int pxa3xx_nand_probe(struct platform_device *pdev) | |||
1228 | continue; | 1228 | continue; |
1229 | } | 1229 | } |
1230 | 1230 | ||
1231 | ret = mtd_device_parse_register(info->host[cs]->mtd, NULL, 0, | 1231 | ret = mtd_device_parse_register(info->host[cs]->mtd, NULL, |
1232 | pdata->parts[cs], pdata->nr_parts[cs]); | 1232 | NULL, pdata->parts[cs], |
1233 | pdata->nr_parts[cs]); | ||
1233 | if (!ret) | 1234 | if (!ret) |
1234 | probe_success = 1; | 1235 | probe_success = 1; |
1235 | } | 1236 | } |