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@gmail.com>
This commit is contained in:
parent
494da07c0f
commit
99a3b15572
@ -27,8 +27,6 @@ static struct regulator_consumer_supply dummy_supplies[] = {
|
|||||||
REGULATOR_SUPPLY("vdd33a", "smsc911x"),
|
REGULATOR_SUPPLY("vdd33a", "smsc911x"),
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *part_probes[] = { "cmdlinepart", NULL };
|
|
||||||
|
|
||||||
static struct mtd_partition rsk_partitions[] = {
|
static struct mtd_partition rsk_partitions[] = {
|
||||||
{
|
{
|
||||||
.name = "Bootloader",
|
.name = "Bootloader",
|
||||||
@ -50,7 +48,6 @@ static struct physmap_flash_data flash_data = {
|
|||||||
.parts = rsk_partitions,
|
.parts = rsk_partitions,
|
||||||
.nr_parts = ARRAY_SIZE(rsk_partitions),
|
.nr_parts = ARRAY_SIZE(rsk_partitions),
|
||||||
.width = 2,
|
.width = 2,
|
||||||
.part_probe_types = part_probes,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct resource flash_resource = {
|
static struct resource flash_resource = {
|
||||||
|
Loading…
Reference in New Issue
Block a user