[PATCH v3 05/10] powerpc/mpic: Search for open-pic device-tree node if NULL
Kumar Gala
galak at kernel.crashing.org
Sun Dec 4 03:05:11 EST 2011
On Dec 2, 2011, at 10:28 AM, Kyle Moffett wrote:
> Almost all PowerPC platforms use a standard "open-pic" device node so
> the mpic_alloc() function now accepts NULL for the device-node. This
> will cause it to perform a default search with of_find_matching_node().
>
> Signed-off-by: Kyle Moffett <Kyle.D.Moffett at boeing.com>
> ---
> arch/powerpc/platforms/85xx/corenet_ds.c | 10 +-----
> arch/powerpc/platforms/85xx/ksi8560.c | 14 +--------
> arch/powerpc/platforms/85xx/mpc8536_ds.c | 13 +-------
> arch/powerpc/platforms/85xx/mpc85xx_ads.c | 13 +-------
> arch/powerpc/platforms/85xx/mpc85xx_cds.c | 15 +--------
> arch/powerpc/platforms/85xx/mpc85xx_ds.c | 14 ++-------
> arch/powerpc/platforms/85xx/mpc85xx_mds.c | 10 +-----
> arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 14 +-------
> arch/powerpc/platforms/85xx/p1010rdb.c | 12 +------
> arch/powerpc/platforms/85xx/p1022_ds.c | 14 +--------
> arch/powerpc/platforms/85xx/p1023_rds.c | 11 +------
> arch/powerpc/platforms/85xx/sbc8548.c | 16 +---------
> arch/powerpc/platforms/85xx/sbc8560.c | 13 +-------
> arch/powerpc/platforms/85xx/socrates.c | 11 +------
> arch/powerpc/platforms/85xx/stx_gp3.c | 13 +-------
> arch/powerpc/platforms/85xx/tqm85xx.c | 13 +-------
> arch/powerpc/platforms/85xx/xes_mpc85xx.c | 13 +-------
> arch/powerpc/platforms/86xx/pic.c | 11 +-----
> arch/powerpc/platforms/embedded6xx/holly.c | 10 +-----
> arch/powerpc/platforms/embedded6xx/linkstation.c | 8 +----
> arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c | 10 +-----
> arch/powerpc/platforms/embedded6xx/storcenter.c | 10 +-----
> arch/powerpc/sysdev/mpic.c | 34 ++++++++++++++++++--
> 23 files changed, 58 insertions(+), 244 deletions(-)
Ben,
What do pseries, cell, & maple really have in there device trees? We should be able to move all this into mpic.c
- k
More information about the Linuxppc-dev
mailing list