Stephen Rothwell wrote: >> + nr_parts = 0; >> + for (pp = node->child; pp; pp = pp->sibling) > > for_each_child_of_node(node, pp) "for_each_child_of_node" is only in Paul's tree, but this has to go via mtd. Plus, I'm just moving the code; it's not new. -Scott