summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/xway_nand.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2015-05-19 02:15:24 +0300
committerBrian Norris <computersforpeace@gmail.com>2015-05-27 22:34:35 +0300
commit8bf57b0dd431e521d7b3f34e0681fbb2536e86b8 (patch)
tree10dc1d4767c5feff1ef8a8c15fecd7b3edafbe5e /drivers/mtd/nand/xway_nand.c
parentdb5b09f6ed9d7617e43d7140e8bd8649ec067862 (diff)
downloadlinux-8bf57b0dd431e521d7b3f34e0681fbb2536e86b8.tar.xz
mtd: plat_nand: use default partition probe
It's harmless to add 'ofpart' (the only different parser supported in default mtdpart.c) to plat_nand. That let's us kill off one more custom partition prober listing. Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/xway_nand.c')
-rw-r--r--drivers/mtd/nand/xway_nand.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mtd/nand/xway_nand.c b/drivers/mtd/nand/xway_nand.c
index 3f81dc8f214c..3b28db458ea0 100644
--- a/drivers/mtd/nand/xway_nand.c
+++ b/drivers/mtd/nand/xway_nand.c
@@ -160,14 +160,10 @@ static int xway_nand_probe(struct platform_device *pdev)
return 0;
}
-/* allow users to override the partition in DT using the cmdline */
-static const char *part_probes[] = { "cmdlinepart", "ofpart", NULL };
-
static struct platform_nand_data xway_nand_data = {
.chip = {
.nr_chips = 1,
.chip_delay = 30,
- .part_probe_types = part_probes,
},
.ctrl = {
.probe = xway_nand_probe,