From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755398Ab0BIRW2 (ORCPT ); Tue, 9 Feb 2010 12:22:28 -0500 Received: from mail-iw0-f171.google.com ([209.85.223.171]:39063 "EHLO mail-iw0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754899Ab0BIRW0 convert rfc822-to-8bit (ORCPT ); Tue, 9 Feb 2010 12:22:26 -0500 MIME-Version: 1.0 In-Reply-To: <20100205205041.GA4178@oksana.dev.rtsoft.ru> References: <20100205204949.GA2575@oksana.dev.rtsoft.ru> <20100205205041.GA4178@oksana.dev.rtsoft.ru> From: Grant Likely Date: Tue, 9 Feb 2010 10:22:04 -0700 X-Google-Sender-Auth: 4e845b9bc554d396 Message-ID: Subject: Re: [PATCH 1/3] of platforms: Move common static initialization to of_node_init() To: Anton Vorontsov Cc: David Brownell , Benjamin Herrenschmidt , David Miller , Michal Simek , linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, microblaze-uclinux@itee.uq.edu.au Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 5, 2010 at 1:50 PM, Anton Vorontsov wrote: > So far of_node_init() just initializes a kref, later we'll have to > initialize other fields (for example node->data_lock). > > Signed-off-by: Anton Vorontsov > --- >  arch/microblaze/kernel/prom.c             |    4 ++-- >  arch/powerpc/kernel/prom.c                |    4 ++-- >  arch/powerpc/platforms/iseries/vio.c      |    5 +++-- >  arch/powerpc/platforms/pseries/dlpar.c    |    7 ++++--- >  arch/powerpc/platforms/pseries/reconfig.c |    7 ++++--- >  arch/powerpc/sysdev/msi_bitmap.c          |    4 ++-- >  arch/sparc/kernel/prom_common.c           |    6 +++--- >  drivers/of/base.c                         |   10 ++++++++++ >  include/linux/of.h                        |    2 ++ >  9 files changed, 32 insertions(+), 17 deletions(-) unflatten_dt_*() has been merged and moved to drivers/of. Please rebase this series on top of my next-devicetree branch in this git tree: git://git.secretlab.ca/git/linux-2.6 Otherwise, this looks fine to me. g.