diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-05-18 19:21:12 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-06-21 15:52:43 -0400 |
commit | cc23cafe2b4a83f98b4e69d904038ccd6cad7bf3 (patch) | |
tree | 1004e0bdf82d47b74730a9e2a17beeeff28b3f90 | |
parent | 9a20b09285bbd75ccc2ca78233241f8e31d54a28 (diff) |
MIPS: netlogic: remove unnecessary MTD partition probe specification
The cmdlinepart parser is already supported in the default probe.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Cc: linux-mtd@lists.infradead.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10071/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/netlogic/xlr/platform-flash.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/netlogic/xlr/platform-flash.c b/arch/mips/netlogic/xlr/platform-flash.c index 6d3c727e0ef8..f03131fec41d 100644 --- a/arch/mips/netlogic/xlr/platform-flash.c +++ b/arch/mips/netlogic/xlr/platform-flash.c | |||
@@ -78,8 +78,6 @@ static struct platform_device xlr_nor_dev = { | |||
78 | .resource = xlr_nor_res, | 78 | .resource = xlr_nor_res, |
79 | }; | 79 | }; |
80 | 80 | ||
81 | const char *xlr_part_probes[] = { "cmdlinepart", NULL }; | ||
82 | |||
83 | /* | 81 | /* |
84 | * Use "gen_nand" driver for NAND flash | 82 | * Use "gen_nand" driver for NAND flash |
85 | * | 83 | * |
@@ -111,7 +109,6 @@ struct platform_nand_data xlr_nand_data = { | |||
111 | .nr_partitions = ARRAY_SIZE(xlr_nand_parts), | 109 | .nr_partitions = ARRAY_SIZE(xlr_nand_parts), |
112 | .chip_delay = 50, | 110 | .chip_delay = 50, |
113 | .partitions = xlr_nand_parts, | 111 | .partitions = xlr_nand_parts, |
114 | .part_probe_types = xlr_part_probes, | ||
115 | }, | 112 | }, |
116 | .ctrl = { | 113 | .ctrl = { |
117 | .cmd_ctrl = xlr_nand_ctrl, | 114 | .cmd_ctrl = xlr_nand_ctrl, |