On Tue, 2008-01-08 at 11:56 +1100, Stephen Rothwell wrote:
> Hi Timur,
> 
> On Mon,  7 Jan 2008 12:56:43 -0600 Timur Tabi <[EMAIL PROTECTED]> wrote:
> >
> > +++ b/arch/powerpc/platforms/86xx/mpc8610_hpcd.c
> > @@ -34,9 +34,27 @@
> >  
> >  #include <asm/mpic.h>
> >  
> > +#include <linux/of_platform.h>
> >  #include <sysdev/fsl_pci.h>
> >  #include <sysdev/fsl_soc.h>
> >  
> > +static struct of_device_id mpc8610_ids[] = {
> 
> __initdata
> 
> > +   { .compatible = "fsl,mpc8610", },
> > +   {}
> > +};
> > +
> > +static int __init mpc8610_declare_of_platform_devices(void)
> > +{
> > +   if (!machine_is(mpc86xx_hpcd))
> > +           return 0;
> > +
> > +   /* Without this call, the SSI device driver won't get probed. */
> > +   of_platform_bus_probe(NULL, mpc8610_ids, NULL);
> > +
> > +   return 0;
> > +}
> > +device_initcall(mpc8610_declare_of_platform_devices);
> 
> We have machine_device_initcall for this now.
> 

Now changed in ASoC dev branch.

Liam

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to