sh: mach-rsk: remove unnecessary MTD partition probe specification

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Nov 6 10:59:08 PST 2015


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=99a3b15572499e31bebc70d3d50bc13c0c49cbac
Commit:     99a3b15572499e31bebc70d3d50bc13c0c49cbac
Parent:     494da07c0f20245b3af54e33e1d2cd91d386c412
Author:     Brian Norris <computersforpeace at gmail.com>
AuthorDate: Mon May 18 16:24:30 2015 -0700
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Wed Sep 30 13:51:35 2015 -0700

    sh: mach-rsk: remove unnecessary MTD partition probe specification
    
    The cmdlinepart parser is already supported in the default probe.
    
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 arch/sh/boards/mach-rsk/setup.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/sh/boards/mach-rsk/setup.c b/arch/sh/boards/mach-rsk/setup.c
index 2685ea0..6bc134b 100644
--- a/arch/sh/boards/mach-rsk/setup.c
+++ b/arch/sh/boards/mach-rsk/setup.c
@@ -27,8 +27,6 @@ static struct regulator_consumer_supply dummy_supplies[] = {
 	REGULATOR_SUPPLY("vdd33a", "smsc911x"),
 };
 
-static const char *part_probes[] = { "cmdlinepart", NULL };
-
 static struct mtd_partition rsk_partitions[] = {
 	{
 		.name		= "Bootloader",
@@ -50,7 +48,6 @@ static struct physmap_flash_data flash_data = {
 	.parts			= rsk_partitions,
 	.nr_parts		= ARRAY_SIZE(rsk_partitions),
 	.width			= 2,
-	.part_probe_types	= part_probes,
 };
 
 static struct resource flash_resource = {



More information about the linux-mtd-cvs mailing list