Hi Timur, On Mon, 7 Jan 2008 12:56:43 -0600 Timur Tabi <timur@xxxxxxxxxxxxx> 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. -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/
Attachment:
pgpOmNzjKrRRL.pgp
Description: PGP signature
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel