[PATCH 2/3] mtd: Factor out OF partition support from the NOR driver.

Scott Wood scottwood at freescale.com
Tue Jan 15 18:43:06 EST 2008


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



More information about the linux-mtd mailing list