linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Liam Girdwood <lg@opensource.wolfsonmicro.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: linuxppc-dev@ozlabs.org, alsa-devel@alsa-project.org,
	Timur Tabi <timur@freescale.com>
Subject: Re: [PATCH v2] [POWERPC] Update MPC8610 HPCD to support audio drivers
Date: Tue, 08 Jan 2008 12:39:14 +0000	[thread overview]
Message-ID: <1199795954.19903.76.camel@localhost.localdomain> (raw)
In-Reply-To: <20080108115654.d0ac909b.sfr@canb.auug.org.au>

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 <timur@freescale.com> 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

  reply	other threads:[~2008-01-08 12:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-07 18:56 [PATCH 0/2] ASoC drivers for the Freescale MPC8610 SoC Timur Tabi
2008-01-07 18:56 ` [PATCH v2] [POWERPC] Update MPC8610 HPCD to support audio drivers Timur Tabi
2008-01-07 18:56   ` [PATCH v2] [ALSA] Add ASoC drivers for the Freescale MPC8610 SoC Timur Tabi
2008-01-08 16:20     ` Liam Girdwood
2008-01-08  0:56   ` [PATCH v2] [POWERPC] Update MPC8610 HPCD to support audio drivers Stephen Rothwell
2008-01-08 12:39     ` Liam Girdwood [this message]
2008-01-10 16:35   ` Grant Likely
2008-01-08 12:38 ` [PATCH 0/2] ASoC drivers for the Freescale MPC8610 SoC Liam Girdwood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1199795954.19903.76.camel@localhost.localdomain \
    --to=lg@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=sfr@canb.auug.org.au \
    --cc=timur@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).