[PATCH 1/3] of platforms: Move common static initialization to of_node_init()

Grant Likely grant.likely at secretlab.ca
Wed Feb 10 04:22:04 EST 2010


On Fri, Feb 5, 2010 at 1:50 PM, Anton Vorontsov
<avorontsov at ru.mvista.com> 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 <avorontsov at ru.mvista.com>
> ---
>  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.


More information about the devicetree-discuss mailing list