On 11/9/07, Marian Balakowicz <[EMAIL PROTECTED]> wrote: > Define MPC52xx specific device id list, add new > 'fsl,lpb' compatible id for LocalPlus Bus.
I'll pick this up, but I'm going to drop the .compatible="soc" line. (I'd like to drop the device_type="soc" line also, but that requires a bit more thought first). Cheers, g. > > Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> > Acked-by: David Gibson <[EMAIL PROTECTED]> > --- > > arch/powerpc/platforms/52xx/mpc52xx_common.c | 9 ++++++++- > 1 files changed, 8 insertions(+), 1 deletions(-) > > > diff --git a/arch/powerpc/platforms/52xx/mpc52xx_common.c > b/arch/powerpc/platforms/52xx/mpc52xx_common.c > index 9850685..2df97c5 100644 > --- a/arch/powerpc/platforms/52xx/mpc52xx_common.c > +++ b/arch/powerpc/platforms/52xx/mpc52xx_common.c > @@ -124,11 +124,18 @@ mpc5200_setup_xlb_arbiter(void) > iounmap(xlb); > } > > +static struct of_device_id mpc52xx_ids[] = { > + { .type = "soc", }, > + { .compatible = "soc", }, > + { .compatible = "fsl,lpb", }, > + {}, > +}; > + > void __init > mpc52xx_declare_of_platform_devices(void) > { > /* Find every child of the SOC node and add it to of_platform */ > - if (of_platform_bus_probe(NULL, NULL, NULL)) > + if (of_platform_bus_probe(NULL, mpc52xx_ids, NULL)) > printk(KERN_ERR __FILE__ ": " > "Error while probing of_platform bus\n"); > } > > _______________________________________________ > Linuxppc-dev mailing list > Linuxppc-dev@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-dev > -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. [EMAIL PROTECTED] (403) 399-0195 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev