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

Stephen Rothwell sfr at canb.auug.org.au
Tue Jan 15 23:41:53 EST 2008


On Tue, 15 Jan 2008 17:43:06 -0600 Scott Wood <scottwood at freescale.com> wrote:
>
> 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.

OK, we can change it later.

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20080116/8a92d5bc/attachment-0001.bin 


More information about the linux-mtd mailing list