On Thu, Feb 19, 2009 at 12:58 AM, Dushara Jayasinghe <dusha...@optiscan.com> wrote: > I based my board specific file on mpc834x_itx.c which had > > static struct of_device_id __initdata mpc834x_itx_ids[] = { > { .compatible = "fsl,pq2pro-localbus", }, > { .compatible = "simple-bus", }, > {}, > }; > > Don't know if this is broken?
Actually, it's your device tree that's broken. The above is the right way to do it. The other way: static struct of_device_id mpc834x_ids[] = { { .type = "soc", }, { .compatible = "soc", }, { .compatible = "simple-bus", }, {}, }; is the old way. You're missing a compatible=simple-bus in your device tree. -- Timur Tabi Linux kernel developer at Freescale _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev