From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw01.freescale.net (az33egw01.freescale.net [192.88.158.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw01.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id A69AEDDE3F for ; Wed, 16 Jan 2008 10:47:32 +1100 (EST) Message-ID: <478D450A.8060802@freescale.com> Date: Tue, 15 Jan 2008 17:43:06 -0600 From: Scott Wood MIME-Version: 1.0 To: Stephen Rothwell Subject: Re: [PATCH 2/3] mtd: Factor out OF partition support from the NOR driver. References: <20080114172116.a2e5aa18.sfr@canb.auug.org.au> In-Reply-To: <20080114172116.a2e5aa18.sfr@canb.auug.org.au> Content-Type: text/plain; charset=UTF-8; format=flowed Cc: linuxppc-dev@ozlabs.org, dwmw2@infradead.org, linux-mtd@lists.infradead.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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