diff options
Diffstat (limited to 'drivers/mtd/nand/orion_nand.c')
-rw-r--r-- | drivers/mtd/nand/orion_nand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/orion_nand.c b/drivers/mtd/nand/orion_nand.c index 29f505adaf84..1d3bfb26080c 100644 --- a/drivers/mtd/nand/orion_nand.c +++ b/drivers/mtd/nand/orion_nand.c | |||
@@ -129,8 +129,8 @@ static int __init orion_nand_probe(struct platform_device *pdev) | |||
129 | } | 129 | } |
130 | 130 | ||
131 | mtd->name = "orion_nand"; | 131 | mtd->name = "orion_nand"; |
132 | ret = mtd_device_parse_register(mtd, NULL, 0, | 132 | ret = mtd_device_parse_register(mtd, NULL, NULL, board->parts, |
133 | board->parts, board->nr_parts); | 133 | board->nr_parts); |
134 | if (ret) { | 134 | if (ret) { |
135 | nand_release(mtd); | 135 | nand_release(mtd); |
136 | goto no_dev; | 136 | goto no_dev; |