X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=drivers%2Fmtd%2Fmaps%2Fphysmap_of.c;h=7901d72c92425dc41485947468231cf7776db372;hb=d92dd35920d51e1664f902be48e622307098d0d9;hp=67cc73c18ddd6e0ca10d0438403d61436971b734;hpb=8b31849a113a8868eb2de692be5c9ecadae93ac9;p=deliverable%2Flinux.git diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c index 67cc73c18ddd..7901d72c9242 100644 --- a/drivers/mtd/maps/physmap_of.c +++ b/drivers/mtd/maps/physmap_of.c @@ -170,7 +170,7 @@ static int of_flash_probe(struct platform_device *dev) resource_size_t res_size; struct mtd_part_parser_data ppdata; bool map_indirect; - const char *mtd_name; + const char *mtd_name = NULL; match = of_match_device(of_flash_match, &dev->dev); if (!match)