OSDN Git Service

sh: mach-rsk: remove unnecessary MTD partition probe specification
authorBrian Norris <computersforpeace@gmail.com>
Mon, 18 May 2015 23:24:30 +0000 (16:24 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 30 Sep 2015 20:51:35 +0000 (13:51 -0700)
The cmdlinepart parser is already supported in the default probe.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
arch/sh/boards/mach-rsk/setup.c

index 2685ea0..6bc134b 100644 (file)
@@ -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 = {