aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/tmio_nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/tmio_nand.c')
-rw-r--r--drivers/mtd/nand/tmio_nand.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/nand/tmio_nand.c b/drivers/mtd/nand/tmio_nand.c
index 6caa0cd9d6a7..060848a91db7 100644
--- a/drivers/mtd/nand/tmio_nand.c
+++ b/drivers/mtd/nand/tmio_nand.c
@@ -456,9 +456,9 @@ static int tmio_probe(struct platform_device *dev)
456 goto err_scan; 456 goto err_scan;
457 } 457 }
458 /* Register the partitions */ 458 /* Register the partitions */
459 retval = mtd_device_parse_register(mtd, NULL, 0, 459 retval = mtd_device_parse_register(mtd, NULL, NULL,
460 data ? data->partition : NULL, 460 data ? data->partition : NULL,
461 data ? data->num_partitions : 0); 461 data ? data->num_partitions : 0);
462 if (!retval) 462 if (!retval)
463 return retval; 463 return retval;
464 464