|
@@ -24,8 +24,6 @@ struct plat_nand_data {
|
|
|
void __iomem *io_base;
|
|
|
};
|
|
|
|
|
|
-static const char *part_probe_types[] = { "cmdlinepart", NULL };
|
|
|
-
|
|
|
/*
|
|
|
* Probe for the NAND device.
|
|
|
*/
|
|
@@ -95,7 +93,7 @@ static int plat_nand_probe(struct platform_device *pdev)
|
|
|
goto out;
|
|
|
}
|
|
|
|
|
|
- part_types = pdata->chip.part_probe_types ? : part_probe_types;
|
|
|
+ part_types = pdata->chip.part_probe_types;
|
|
|
|
|
|
ppdata.of_node = pdev->dev.of_node;
|
|
|
err = mtd_device_parse_register(&data->mtd, part_types, &ppdata,
|