Define MPC52xx specific device id list, add new
'fsl,lpb' compatible id for LocalPlus Bus.

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

Reply via email to