Home
last modified time | relevance | path

Searched refs:mtd_dn (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/mtd/
H A Dmtdcore.c581 struct device_node *partitions, *parent_dn, *mtd_dn = NULL; in mtd_check_of_node() local
607 for_each_child_of_node(partitions, mtd_dn) { in mtd_check_of_node()
609 if (!of_node_name_prefix(mtd_dn, prefix)) in mtd_check_of_node()
613 if (!of_property_read_string(mtd_dn, "label", &pname)) { in mtd_check_of_node()
616 pname = mtd_dn->name; in mtd_check_of_node()
623 mtd_set_of_node(mtd, mtd_dn); in mtd_check_of_node()