diff options
Diffstat (limited to 'drivers/mtd/nand/plat_nand.c')
-rw-r--r-- | drivers/mtd/nand/plat_nand.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/nand/plat_nand.c b/drivers/mtd/nand/plat_nand.c index 4535c263fae5..717cf623fcde 100644 --- a/drivers/mtd/nand/plat_nand.c +++ b/drivers/mtd/nand/plat_nand.c | |||
@@ -24,8 +24,6 @@ struct plat_nand_data { | |||
24 | void __iomem *io_base; | 24 | void __iomem *io_base; |
25 | }; | 25 | }; |
26 | 26 | ||
27 | static const char *part_probe_types[] = { "cmdlinepart", NULL }; | ||
28 | |||
29 | /* | 27 | /* |
30 | * Probe for the NAND device. | 28 | * Probe for the NAND device. |
31 | */ | 29 | */ |
@@ -95,7 +93,7 @@ static int plat_nand_probe(struct platform_device *pdev) | |||
95 | goto out; | 93 | goto out; |
96 | } | 94 | } |
97 | 95 | ||
98 | part_types = pdata->chip.part_probe_types ? : part_probe_types; | 96 | part_types = pdata->chip.part_probe_types; |
99 | 97 | ||
100 | ppdata.of_node = pdev->dev.of_node; | 98 | ppdata.of_node = pdev->dev.of_node; |
101 | err = mtd_device_parse_register(&data->mtd, part_types, &ppdata, | 99 | err = mtd_device_parse_register(&data->mtd, part_types, &ppdata, |